aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example
diff options
context:
space:
mode:
Diffstat (limited to 'Example')
-rw-r--r--Example/Auth/Sample/MainViewController.m11
-rw-r--r--Example/Auth/Tests/FIRAuthTests.m4
-rw-r--r--Example/Auth/Tests/FIRUserTests.m6
-rw-r--r--Example/Core/Tests/FIRAppTest.m40
-rw-r--r--Example/Core/Tests/FIRLoggerTest.m4
-rw-r--r--Example/Core/Tests/FIROptionsTest.m67
-rw-r--r--Example/Core/Tests/FIRTestCase.m1
-rw-r--r--Example/Firebase.xcodeproj/project.pbxproj392
-rw-r--r--Example/Firebase.xcodeproj/xcshareddata/xcschemes/Messaging_Sample_iOS.xcscheme91
-rw-r--r--Example/Messaging/App/iOS/Base.lproj/LaunchScreen.storyboard12
-rw-r--r--Example/Messaging/App/iOS/Base.lproj/Main.storyboard47
-rw-r--r--Example/Messaging/App/iOS/FIRAppDelegate.h23
-rw-r--r--Example/Messaging/App/iOS/FIRAppDelegate.m58
-rw-r--r--Example/Messaging/App/iOS/FIRViewController.h21
-rw-r--r--Example/Messaging/App/iOS/FIRViewController.m33
-rw-r--r--Example/Messaging/App/iOS/main.m22
-rw-r--r--Example/Messaging/Sample/GoogleService-Info.plist (renamed from Example/Messaging/App/GoogleService-Info.plist)0
-rw-r--r--Example/Messaging/Sample/iOS/AppDelegate.swift (renamed from Example/Messaging/App/iOS/AppDelegate.swift)0
-rw-r--r--Example/Messaging/Sample/iOS/Base.lproj/LaunchScreen.storyboard27
-rw-r--r--Example/Messaging/Sample/iOS/Base.lproj/Main.storyboard48
-rw-r--r--Example/Messaging/Sample/iOS/Data+MessagingExtensions.swift (renamed from Example/Messaging/App/iOS/Data+MessagingExtensions.swift)0
-rw-r--r--Example/Messaging/Sample/iOS/Environment.swift (renamed from Example/Messaging/App/iOS/Environment.swift)0
-rw-r--r--Example/Messaging/Sample/iOS/Messaging-Info.plist (renamed from Example/Messaging/App/iOS/Messaging-Info.plist)0
-rw-r--r--Example/Messaging/Sample/iOS/MessagingViewController.swift (renamed from Example/Messaging/App/iOS/MessagingViewController.swift)0
-rw-r--r--Example/Messaging/Sample/iOS/Messaging_Example.entitlements (renamed from Example/Messaging/App/iOS/Messaging_Example.entitlements)0
-rw-r--r--Example/Messaging/Sample/iOS/NotificationsController.swift (renamed from Example/Messaging/App/iOS/NotificationsController.swift)0
-rw-r--r--Example/Podfile6
-rw-r--r--Example/Storage/App/iOS/FIRAppDelegate.m2
28 files changed, 637 insertions, 278 deletions
diff --git a/Example/Auth/Sample/MainViewController.m b/Example/Auth/Sample/MainViewController.m
index e343508..d4915cd 100644
--- a/Example/Auth/Sample/MainViewController.m
+++ b/Example/Auth/Sample/MainViewController.m
@@ -429,10 +429,10 @@ static NSString *const kRemoveIDTokenListenerTitle = @"Remove Last ID Token Chan
*/
static NSString *const kSectionTitleApp = @"APP";
-/** @var kUpdateCurrentUserFromSavedTitle
- @brief The text of the "Upgrade to saved user" button.
+/** @var kSwitchToInMemoryUserTitle
+ @brief The text of the "Switch to in memory user" button.
*/
-static NSString *const kUpdateCurrentUserFromSavedTitle = @"Upgrade to saved user";
+static NSString *const kSwitchToInMemoryUserTitle = @"Switch to in memory user";
/** @var kCreateUserTitle
@brief The text of the "Create User" button.
@@ -750,7 +750,7 @@ typedef enum {
}],
]],
[StaticContentTableViewSection sectionWithTitle:kSectionTitleSignIn cells:@[
- [StaticContentTableViewCell cellWithTitle:kUpdateCurrentUserFromSavedTitle
+ [StaticContentTableViewCell cellWithTitle:kSwitchToInMemoryUserTitle
value:nil
action:^{ [weakSelf updateToSavedUser]; }],
[StaticContentTableViewCell cellWithTitle:kCreateUserTitle
@@ -2762,7 +2762,8 @@ static NSDictionary<NSString *, NSString *> *parseURL(NSString *urlString) {
}
if (!_userInMemory) {
- NSLog(@"You need an in memory user to perform this action");
+ [self showMessagePrompt:[NSString stringWithFormat:@"You need an in-memory user to perform this"
+ "action, use the M+ button to save a user to memory.", nil]];
return;
}
diff --git a/Example/Auth/Tests/FIRAuthTests.m b/Example/Auth/Tests/FIRAuthTests.m
index 507fdf2..47a430b 100644
--- a/Example/Auth/Tests/FIRAuthTests.m
+++ b/Example/Auth/Tests/FIRAuthTests.m
@@ -20,9 +20,7 @@
#import <FirebaseCore/FIRAppInternal.h>
-#import <FirebaseAuth/FIREmailAuthProvider.h>
-#import <FirebaseAuth/FIRGoogleAuthProvider.h>
-#import <FirebaseAuth/FIRAdditionalUserInfo.h>
+#import <FirebaseAuth/FirebaseAuth.h>
#import "FIRAuth_Internal.h"
#import "FIRAuthOperationType.h"
diff --git a/Example/Auth/Tests/FIRUserTests.m b/Example/Auth/Tests/FIRUserTests.m
index be269ee..fcf8d5d 100644
--- a/Example/Auth/Tests/FIRUserTests.m
+++ b/Example/Auth/Tests/FIRUserTests.m
@@ -18,11 +18,7 @@
#import <XCTest/XCTest.h>
-#import <FirebaseAuth/FIRUser.h>
-#import <FirebaseAuth/FIREmailAuthProvider.h>
-#import <FirebaseAuth/FIRFacebookAuthProvider.h>
-#import <FirebaseAuth/FIRGoogleAuthProvider.h>
-#import <FirebaseAuth/FIRAdditionalUserInfo.h>
+#import <FirebaseAuth/FirebaseAuth.h>
#import "FIRAuth_Internal.h"
#import "FIRAuthErrorUtils.h"
diff --git a/Example/Core/Tests/FIRAppTest.m b/Example/Core/Tests/FIRAppTest.m
index 3784a6e..6825e6a 100644
--- a/Example/Core/Tests/FIRAppTest.m
+++ b/Example/Core/Tests/FIRAppTest.m
@@ -119,21 +119,11 @@ NSString *const kFIRTestAppName2 = @"test-app-name-2";
}
- (void)testConfigureWithCustomizedOptions {
-// valid customized options
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
- FIROptions *options = [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID
- bundleID:kBundleID
- GCMSenderID:kGCMSenderID
- APIKey:kCustomizedAPIKey
- clientID:nil
- trackingID:nil
- androidClientID:nil
- databaseURL:nil
- storageBucket:nil
- deepLinkURLScheme:nil];
-#pragma clang diagnostic pop
+ // valid customized options
+ FIROptions *options =
+ [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID GCMSenderID:kGCMSenderID];
+ options.bundleID = kBundleID;
+ options.APIKey = kCustomizedAPIKey;
NSDictionary *expectedUserInfo =
[self expectedUserInfoWithAppName:kFIRDefaultAppName isDefaultApp:YES];
OCMExpect([self.notificationCenterMock postNotificationName:kFIRAppReadyToConfigureSDKNotification
@@ -194,21 +184,11 @@ NSString *const kFIRTestAppName2 = @"test-app-name-2";
XCTAssertTrue([FIRApp allApps].count == 1);
self.app = [FIRApp appNamed:kFIRTestAppName1];
-// Configure a different app with valid customized options
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
- FIROptions *customizedOptions = [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID
- bundleID:kBundleID
- GCMSenderID:kGCMSenderID
- APIKey:kCustomizedAPIKey
- clientID:nil
- trackingID:nil
- androidClientID:nil
- databaseURL:nil
- storageBucket:nil
- deepLinkURLScheme:nil];
-#pragma clang diagnostic pop
+ // Configure a different app with valid customized options
+ FIROptions *customizedOptions =
+ [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID GCMSenderID:kGCMSenderID];
+ customizedOptions.bundleID = kBundleID;
+ customizedOptions.APIKey = kCustomizedAPIKey;
NSDictionary *expectedUserInfo2 =
[self expectedUserInfoWithAppName:kFIRTestAppName2 isDefaultApp:NO];
diff --git a/Example/Core/Tests/FIRLoggerTest.m b/Example/Core/Tests/FIRLoggerTest.m
index 5cc7465..31a495d 100644
--- a/Example/Core/Tests/FIRLoggerTest.m
+++ b/Example/Core/Tests/FIRLoggerTest.m
@@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifdef DEBUG
+// The tests depend upon library methods only built with #ifdef DEBUG
+
#import "FIRTestCase.h"
#import <FirebaseCore/FIRLogger.h>
@@ -267,3 +270,4 @@ static NSString *const kMessageCode = @"I-COR000001";
}
@end
+#endif
diff --git a/Example/Core/Tests/FIROptionsTest.m b/Example/Core/Tests/FIROptionsTest.m
index 5d66ca9..20aec94 100644
--- a/Example/Core/Tests/FIROptionsTest.m
+++ b/Example/Core/Tests/FIROptionsTest.m
@@ -81,51 +81,19 @@ extern NSString *const kFIRLibraryVersionID;
}
- (void)testInitCustomizedOptions {
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
- FIROptions *options = [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID
- bundleID:kBundleID
- GCMSenderID:kGCMSenderID
- APIKey:kAPIKey
- clientID:kClientID
- trackingID:kTrackingID
- androidClientID:(id _Nonnull)nil
- databaseURL:kDatabaseURL
- storageBucket:kStorageBucket
- deepLinkURLScheme:kDeepLinkURLScheme];
-#pragma clang pop
- [self assertOptionsMatchDefaults:options andProjectID:NO];
- XCTAssertEqualObjects(options.deepLinkURLScheme, kDeepLinkURLScheme);
- XCTAssertFalse(options.usingOptionsFromDefaultPlist);
-
- FIROptions *options2 =
+ FIROptions *options =
[[FIROptions alloc] initWithGoogleAppID:kGoogleAppID GCMSenderID:kGCMSenderID];
- options2.APIKey = kAPIKey;
- options2.bundleID = kBundleID;
- options2.clientID = kClientID;
- options2.databaseURL = kDatabaseURL;
- options2.deepLinkURLScheme = kDeepLinkURLScheme;
- options2.projectID = kProjectID;
- options2.storageBucket = kStorageBucket;
- options2.trackingID = kTrackingID;
- [self assertOptionsMatchDefaults:options2 andProjectID:YES];
- XCTAssertEqualObjects(options2.deepLinkURLScheme, kDeepLinkURLScheme);
+ options.APIKey = kAPIKey;
+ options.bundleID = kBundleID;
+ options.clientID = kClientID;
+ options.databaseURL = kDatabaseURL;
+ options.deepLinkURLScheme = kDeepLinkURLScheme;
+ options.projectID = kProjectID;
+ options.storageBucket = kStorageBucket;
+ options.trackingID = kTrackingID;
+ [self assertOptionsMatchDefaults:options andProjectID:YES];
+ XCTAssertEqualObjects(options.deepLinkURLScheme, kDeepLinkURLScheme);
XCTAssertFalse(options.usingOptionsFromDefaultPlist);
-
-// nil GoogleAppID should throw an exception
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
- XCTAssertThrows([[FIROptions alloc] initWithGoogleAppID:nil
- bundleID:kBundleID
- GCMSenderID:kGCMSenderID
- APIKey:kCustomizedAPIKey
- clientID:nil
- trackingID:nil
- androidClientID:nil
- databaseURL:nil
- storageBucket:nil
- deepLinkURLScheme:nil]);
-#pragma clang diagnostic pop
}
- (void)testInitWithContentsOfFile {
@@ -239,16 +207,9 @@ extern NSString *const kFIRLibraryVersionID;
XCTAssertEqualObjects(newOptions.deepLinkURLScheme, kDeepLinkURLScheme);
// customized options
- FIROptions *customizedOptions = [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID
- bundleID:kBundleID
- GCMSenderID:kGCMSenderID
- APIKey:kAPIKey
- clientID:kClientID
- trackingID:kTrackingID
- androidClientID:(id _Nonnull)nil
- databaseURL:kDatabaseURL
- storageBucket:kStorageBucket
- deepLinkURLScheme:kDeepLinkURLScheme];
+ FIROptions *customizedOptions =
+ [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID GCMSenderID:kGCMSenderID];
+ customizedOptions.deepLinkURLScheme = kDeepLinkURLScheme;
FIROptions *copyCustomizedOptions = [customizedOptions copy];
[copyCustomizedOptions setDeepLinkURLScheme:kNewDeepLinkURLScheme];
XCTAssertEqualObjects(customizedOptions.deepLinkURLScheme, kDeepLinkURLScheme);
diff --git a/Example/Core/Tests/FIRTestCase.m b/Example/Core/Tests/FIRTestCase.m
index b52886b..631075f 100644
--- a/Example/Core/Tests/FIRTestCase.m
+++ b/Example/Core/Tests/FIRTestCase.m
@@ -14,6 +14,7 @@
#import "FIRTestCase.h"
+NSString *const kAndroidClientID = @"correct_android_client_id";
NSString *const kAPIKey = @"correct_api_key";
NSString *const kCustomizedAPIKey = @"customized_api_key";
NSString *const kClientID = @"correct_client_id";
diff --git a/Example/Firebase.xcodeproj/project.pbxproj b/Example/Firebase.xcodeproj/project.pbxproj
index 5b887a9..9fa954c 100644
--- a/Example/Firebase.xcodeproj/project.pbxproj
+++ b/Example/Firebase.xcodeproj/project.pbxproj
@@ -130,15 +130,6 @@
AFAF36F71EC28C25004BDEE5 /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */; };
AFAF36F81EC28C25004BDEE5 /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */; };
AFAF36F91EC28C25004BDEE5 /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */; };
- AFC8BA9D1EBD230E00B8EEAE /* NotificationsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFC8BA9C1EBD230E00B8EEAE /* NotificationsController.swift */; };
- AFC8BA9F1EBD51A700B8EEAE /* Environment.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFC8BA9E1EBD51A700B8EEAE /* Environment.swift */; };
- AFC8BAA71EC257D800B8EEAE /* FIRSampleAppUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = AFC8BAA31EC257D800B8EEAE /* FIRSampleAppUtilities.m */; };
- AFD5630E1EB1402300EA2233 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFD562FF1EB13DF200EA2233 /* AppDelegate.swift */; };
- AFD5630F1EB1402300EA2233 /* MessagingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFD563011EB13DF200EA2233 /* MessagingViewController.swift */; };
- AFD563151EB29EDE00EA2233 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = AFD563131EB1466100EA2233 /* GoogleService-Info.plist */; };
- AFD563171EBBEF7B00EA2233 /* Data+MessagingExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFD563161EBBEF7B00EA2233 /* Data+MessagingExtensions.swift */; };
- D018534D1EDACED4003A645C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D01853491EDACED4003A645C /* LaunchScreen.storyboard */; };
- D018534E1EDACED4003A645C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D018534B1EDACED4003A645C /* Main.storyboard */; };
D01853721EDAD084003A645C /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */; };
D01853831EDAD113003A645C /* FIRAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D018537E1EDAD0E6003A645C /* FIRAppDelegate.m */; };
D01853841EDAD113003A645C /* FIRViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D01853801EDAD0E6003A645C /* FIRViewController.m */; };
@@ -194,12 +185,7 @@
D064E6B51ED9B31C001956DF /* FIRTestCase.m in Sources */ = {isa = PBXBuildFile; fileRef = DEE14D7C1E844677006FA992 /* FIRTestCase.m */; };
D067EF831ED9BDE00095C27F /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */; };
D067EF841ED9BDFF0095C27F /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DEE14D711E844677006FA992 /* GoogleService-Info.plist */; };
- D09005311EDB32D600154410 /* OCMock-iOS/OCMock.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D09005301EDB32D600154410 /* OCMock-iOS/OCMock.framework */; settings = {ATTRIBUTES = (); }; };
- D09005331EDB32F100154410 /* OCMock-iOS/OCMock.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D09005301EDB32D600154410 /* OCMock-iOS/OCMock.framework */; settings = {ATTRIBUTES = (); }; };
- D09005351EDB330E00154410 /* OCMock-iOS/OCMock.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D09005301EDB32D600154410 /* OCMock-iOS/OCMock.framework */; settings = {ATTRIBUTES = (); }; };
D09005371EDB331C00154410 /* OCMock-iOS/OCMock.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D09005301EDB32D600154410 /* OCMock-iOS/OCMock.framework */; settings = {ATTRIBUTES = (); }; };
- D09005391EDB333A00154410 /* OCMock-iOS/OCMock.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D09005301EDB32D600154410 /* OCMock-iOS/OCMock.framework */; settings = {ATTRIBUTES = (); }; };
- D090053B1EDB334400154410 /* OCMock-iOS/OCMock.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D09005301EDB32D600154410 /* OCMock-iOS/OCMock.framework */; settings = {ATTRIBUTES = (); }; };
D090053D1EDB334D00154410 /* OCMock-iOS/OCMock.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D09005301EDB32D600154410 /* OCMock-iOS/OCMock.framework */; settings = {ATTRIBUTES = (); }; };
D0EDB2C51EDA04F800B6C31B /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */; };
D0EDB2D71EDA057800B6C31B /* FIRAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D0EDB2D21EDA056A00B6C31B /* FIRAppDelegate.m */; };
@@ -337,6 +323,22 @@
DE26D2931F705F4D004AE1D3 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE26D2071F70333E004AE1D3 /* ViewController.swift */; };
DE26D2941F705F51004AE1D3 /* AuthCredentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE26D1FE1F70333E004AE1D3 /* AuthCredentials.swift */; };
DE26D2951F705F53004AE1D3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE26D1FD1F70333E004AE1D3 /* AppDelegate.swift */; };
+ DE47C0E2207AC87D00B1AEDF /* FIRSampleAppUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = AFC8BAA31EC257D800B8EEAE /* FIRSampleAppUtilities.m */; };
+ DE47C0E7207AC87D00B1AEDF /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */; };
+ DE47C114207AC94A00B1AEDF /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DE47C107207AC94A00B1AEDF /* GoogleService-Info.plist */; };
+ DE47C115207AC94A00B1AEDF /* Environment.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE47C109207AC94A00B1AEDF /* Environment.swift */; };
+ DE47C116207AC94A00B1AEDF /* MessagingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE47C10A207AC94A00B1AEDF /* MessagingViewController.swift */; };
+ DE47C117207AC94A00B1AEDF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DE47C10C207AC94A00B1AEDF /* LaunchScreen.storyboard */; };
+ DE47C118207AC94A00B1AEDF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DE47C10E207AC94A00B1AEDF /* Main.storyboard */; };
+ DE47C119207AC94A00B1AEDF /* Messaging-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DE47C110207AC94A00B1AEDF /* Messaging-Info.plist */; };
+ DE47C11A207AC94A00B1AEDF /* Data+MessagingExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE47C111207AC94A00B1AEDF /* Data+MessagingExtensions.swift */; };
+ DE47C11B207AC94A00B1AEDF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE47C112207AC94A00B1AEDF /* AppDelegate.swift */; };
+ DE47C11C207AC94A00B1AEDF /* NotificationsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE47C113207AC94A00B1AEDF /* NotificationsController.swift */; };
+ DE47C13F207ACAA900B1AEDF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DE47C136207ACAA900B1AEDF /* LaunchScreen.storyboard */; };
+ DE47C140207ACAA900B1AEDF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DE47C138207ACAA900B1AEDF /* Main.storyboard */; };
+ DE47C142207ACAA900B1AEDF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DE47C13B207ACAA900B1AEDF /* main.m */; };
+ DE47C143207ACAA900B1AEDF /* FIRAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DE47C13C207ACAA900B1AEDF /* FIRAppDelegate.m */; };
+ DE47C144207ACAA900B1AEDF /* FIRViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DE47C13D207ACAA900B1AEDF /* FIRViewController.m */; };
DE750DBD1EB3DD5B00A75E47 /* FIRAuthAPNSTokenTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DE750DB61EB3DD4000A75E47 /* FIRAuthAPNSTokenTests.m */; };
DE750DBE1EB3DD6800A75E47 /* FIRAuthAPNSTokenManagerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DE750DB51EB3DD4000A75E47 /* FIRAuthAPNSTokenManagerTests.m */; };
DE750DBF1EB3DD6C00A75E47 /* FIRAuthAppCredentialManagerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DE750DB71EB3DD4000A75E47 /* FIRAuthAppCredentialManagerTests.m */; };
@@ -456,6 +458,7 @@
DE9316031E8738E60083EDBF /* FIRMessagingSyncMessageManagerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = DE9315D41E8738B70083EDBF /* FIRMessagingSyncMessageManagerTest.m */; };
DE9316041E8738E60083EDBF /* FIRMessagingTest.m in Sources */ = {isa = PBXBuildFile; fileRef = DE9315D51E8738B70083EDBF /* FIRMessagingTest.m */; };
DE9316051E8738E60083EDBF /* FIRMessagingTestNotificationUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = DE9315D71E8738B70083EDBF /* FIRMessagingTestNotificationUtilities.m */; };
+ DEA7795D207ACC8000245121 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DE47C107207AC94A00B1AEDF /* GoogleService-Info.plist */; };
DEAAD3C31FBA1CD90053BF48 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DEAAD3BD1FBA1CD80053BF48 /* main.m */; };
DEAAD3CE1FBA1EFA0053BF48 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DEAAD3C51FBA1EF90053BF48 /* Assets.xcassets */; };
DEAAD3CF1FBA1EFA0053BF48 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DEAAD3C81FBA1EFA0053BF48 /* AppDelegate.m */; };
@@ -816,36 +819,6 @@
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
- D090052F1EDB32B700154410 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 16;
- files = (
- D09005311EDB32D600154410 /* OCMock-iOS/OCMock.framework in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- D09005321EDB32EA00154410 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 16;
- files = (
- D09005331EDB32F100154410 /* OCMock-iOS/OCMock.framework in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- D09005341EDB330800154410 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 16;
- files = (
- D09005351EDB330E00154410 /* OCMock-iOS/OCMock.framework in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
D09005361EDB331700154410 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
@@ -856,26 +829,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- D09005381EDB333700154410 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 16;
- files = (
- D09005391EDB333A00154410 /* OCMock-iOS/OCMock.framework in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- D090053A1EDB334000154410 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 16;
- files = (
- D090053B1EDB334400154410 /* OCMock-iOS/OCMock.framework in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
D090053C1EDB334800154410 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
@@ -960,20 +913,10 @@
923F824D206C4D8B00034974 /* SafariServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SafariServices.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/SafariServices.framework; sourceTree = DEVELOPER_DIR; };
923F8250206C4DC500034974 /* UserNotifications.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UserNotifications.framework; path = System/Library/Frameworks/UserNotifications.framework; sourceTree = SDKROOT; };
AFAF36F41EC28C25004BDEE5 /* Shared.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Shared.xcassets; path = Shared/Shared.xcassets; sourceTree = "<group>"; };
- AFC8BA9C1EBD230E00B8EEAE /* NotificationsController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NotificationsController.swift; sourceTree = "<group>"; };
- AFC8BA9E1EBD51A700B8EEAE /* Environment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Environment.swift; sourceTree = "<group>"; };
AFC8BAA11EC257D700B8EEAE /* Messaging_Example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Messaging_Example-Bridging-Header.h"; sourceTree = "<group>"; };
AFC8BAA21EC257D800B8EEAE /* FIRSampleAppUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FIRSampleAppUtilities.h; path = Shared/FIRSampleAppUtilities.h; sourceTree = "<group>"; };
AFC8BAA31EC257D800B8EEAE /* FIRSampleAppUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FIRSampleAppUtilities.m; path = Shared/FIRSampleAppUtilities.m; sourceTree = "<group>"; };
AFD562E51EB13C6D00EA2233 /* Messaging_Example_iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Messaging_Example_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
- AFD562FF1EB13DF200EA2233 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
- AFD563001EB13DF200EA2233 /* Messaging-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Messaging-Info.plist"; sourceTree = "<group>"; };
- AFD563011EB13DF200EA2233 /* MessagingViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessagingViewController.swift; sourceTree = "<group>"; };
- AFD563131EB1466100EA2233 /* GoogleService-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "App/GoogleService-Info.plist"; sourceTree = "<group>"; };
- AFD563141EB29B8C00EA2233 /* Messaging_Example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Messaging_Example.entitlements; sourceTree = "<group>"; };
- AFD563161EBBEF7B00EA2233 /* Data+MessagingExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Data+MessagingExtensions.swift"; sourceTree = "<group>"; };
- D018534A1EDACED4003A645C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
- D018534C1EDACED4003A645C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
D01853791EDAD084003A645C /* Auth_Example_macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Auth_Example_macOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
D018537C1EDAD0E6003A645C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
D018537D1EDAD0E6003A645C /* FIRAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FIRAppDelegate.h; sourceTree = "<group>"; };
@@ -1094,6 +1037,24 @@
DE26D26D1F705C35004AE1D3 /* Auth_EarlGreyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Auth_EarlGreyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
DE26D27D1F705EC7004AE1D3 /* SwiftSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
DE45C6641E7DA8CB009E6ACD /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
+ DE47C0ED207AC87D00B1AEDF /* Messaging_Sample_iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Messaging_Sample_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ DE47C107207AC94A00B1AEDF /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
+ DE47C109207AC94A00B1AEDF /* Environment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Environment.swift; sourceTree = "<group>"; };
+ DE47C10A207AC94A00B1AEDF /* MessagingViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessagingViewController.swift; sourceTree = "<group>"; };
+ DE47C10B207AC94A00B1AEDF /* Messaging_Example.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Messaging_Example.entitlements; sourceTree = "<group>"; };
+ DE47C10D207AC94A00B1AEDF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+ DE47C10F207AC94A00B1AEDF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+ DE47C110207AC94A00B1AEDF /* Messaging-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Messaging-Info.plist"; sourceTree = "<group>"; };
+ DE47C111207AC94A00B1AEDF /* Data+MessagingExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Data+MessagingExtensions.swift"; sourceTree = "<group>"; };
+ DE47C112207AC94A00B1AEDF /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
+ DE47C113207AC94A00B1AEDF /* NotificationsController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NotificationsController.swift; sourceTree = "<group>"; };
+ DE47C134207ACAA900B1AEDF /* FIRAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FIRAppDelegate.h; sourceTree = "<group>"; };
+ DE47C135207ACAA900B1AEDF /* FIRViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FIRViewController.h; sourceTree = "<group>"; };
+ DE47C137207ACAA900B1AEDF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+ DE47C139207ACAA900B1AEDF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+ DE47C13B207ACAA900B1AEDF /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ DE47C13C207ACAA900B1AEDF /* FIRAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FIRAppDelegate.m; sourceTree = "<group>"; };
+ DE47C13D207ACAA900B1AEDF /* FIRViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FIRViewController.m; sourceTree = "<group>"; };
DE53893E1FBB62E100199FC2 /* Auth_Tests_tvOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Auth_Tests_tvOS.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
DE53894C1FBB635400199FC2 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
DE53894D1FBB635400199FC2 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -1433,6 +1394,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ DE47C0E4207AC87D00B1AEDF /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
DE53893B1FBB62E100199FC2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@@ -1666,6 +1634,7 @@
DE53893E1FBB62E100199FC2 /* Auth_Tests_tvOS.xctest */,
DE1FAE901FBCF5E100897AAA /* Auth_Example_tvOS.app */,
DEDFEFEC1FD1B8C100F7D466 /* Analytics_Tests_iOS.xctest */,
+ DE47C0ED207AC87D00B1AEDF /* Messaging_Sample_iOS.app */,
);
name = Products;
sourceTree = "<group>";
@@ -1705,15 +1674,6 @@
name = Shared;
sourceTree = "<group>";
};
- AFD562F71EB13CC700EA2233 /* App */ = {
- isa = PBXGroup;
- children = (
- AFD563131EB1466100EA2233 /* GoogleService-Info.plist */,
- D01853481EDACE1A003A645C /* iOS */,
- );
- name = App;
- sourceTree = "<group>";
- };
D01853461EDACC10003A645C /* iOS */ = {
isa = PBXGroup;
children = (
@@ -1743,23 +1703,6 @@
path = macOS;
sourceTree = "<group>";
};
- D01853481EDACE1A003A645C /* iOS */ = {
- isa = PBXGroup;
- children = (
- AFD563001EB13DF200EA2233 /* Messaging-Info.plist */,
- AFD563141EB29B8C00EA2233 /* Messaging_Example.entitlements */,
- AFD562FF1EB13DF200EA2233 /* AppDelegate.swift */,
- AFD563161EBBEF7B00EA2233 /* Data+MessagingExtensions.swift */,
- AFC8BA9E1EBD51A700B8EEAE /* Environment.swift */,
- AFD563011EB13DF200EA2233 /* MessagingViewController.swift */,
- AFC8BA9C1EBD230E00B8EEAE /* NotificationsController.swift */,
- D01853491EDACED4003A645C /* LaunchScreen.storyboard */,
- D018534B1EDACED4003A645C /* Main.storyboard */,
- );
- name = iOS;
- path = App/iOS;
- sourceTree = "<group>";
- };
D0D857F61ED9ADA8002342D2 /* iOS */ = {
isa = PBXGroup;
children = (
@@ -1946,6 +1889,53 @@
path = SwiftSample;
sourceTree = "<group>";
};
+ DE47C106207AC94A00B1AEDF /* Sample */ = {
+ isa = PBXGroup;
+ children = (
+ DE47C107207AC94A00B1AEDF /* GoogleService-Info.plist */,
+ DE47C108207AC94A00B1AEDF /* iOS */,
+ );
+ path = Sample;
+ sourceTree = "<group>";
+ };
+ DE47C108207AC94A00B1AEDF /* iOS */ = {
+ isa = PBXGroup;
+ children = (
+ DE47C109207AC94A00B1AEDF /* Environment.swift */,
+ DE47C10A207AC94A00B1AEDF /* MessagingViewController.swift */,
+ DE47C10B207AC94A00B1AEDF /* Messaging_Example.entitlements */,
+ DE47C10C207AC94A00B1AEDF /* LaunchScreen.storyboard */,
+ DE47C10E207AC94A00B1AEDF /* Main.storyboard */,
+ DE47C110207AC94A00B1AEDF /* Messaging-Info.plist */,
+ DE47C111207AC94A00B1AEDF /* Data+MessagingExtensions.swift */,
+ DE47C112207AC94A00B1AEDF /* AppDelegate.swift */,
+ DE47C113207AC94A00B1AEDF /* NotificationsController.swift */,
+ );
+ path = iOS;
+ sourceTree = "<group>";
+ };
+ DE47C131207ACAA900B1AEDF /* App */ = {
+ isa = PBXGroup;
+ children = (
+ DE47C133207ACAA900B1AEDF /* iOS */,
+ );
+ path = App;
+ sourceTree = "<group>";
+ };
+ DE47C133207ACAA900B1AEDF /* iOS */ = {
+ isa = PBXGroup;
+ children = (
+ DE47C134207ACAA900B1AEDF /* FIRAppDelegate.h */,
+ DE47C135207ACAA900B1AEDF /* FIRViewController.h */,
+ DE47C136207ACAA900B1AEDF /* LaunchScreen.storyboard */,
+ DE47C138207ACAA900B1AEDF /* Main.storyboard */,
+ DE47C13B207ACAA900B1AEDF /* main.m */,
+ DE47C13C207ACAA900B1AEDF /* FIRAppDelegate.m */,
+ DE47C13D207ACAA900B1AEDF /* FIRViewController.m */,
+ );
+ path = iOS;
+ sourceTree = "<group>";
+ };
DE53894B1FBB635400199FC2 /* tvOS */ = {
isa = PBXGroup;
children = (
@@ -2152,8 +2142,9 @@
DE9315B41E8738B70083EDBF /* Messaging */ = {
isa = PBXGroup;
children = (
+ DE47C131207ACAA900B1AEDF /* App */,
+ DE47C106207AC94A00B1AEDF /* Sample */,
AFC8BAA11EC257D700B8EEAE /* Messaging_Example-Bridging-Header.h */,
- AFD562F71EB13CC700EA2233 /* App */,
DE9315C21E8738B70083EDBF /* Tests */,
);
path = Messaging;
@@ -2651,6 +2642,23 @@
productReference = DE26D27D1F705EC7004AE1D3 /* SwiftSample.app */;
productType = "com.apple.product-type.application";
};
+ DE47C0DC207AC87D00B1AEDF /* Messaging_Sample_iOS */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = DE47C0EA207AC87D00B1AEDF /* Build configuration list for PBXNativeTarget "Messaging_Sample_iOS" */;
+ buildPhases = (
+ DE47C0DD207AC87D00B1AEDF /* Sources */,
+ DE47C0E4207AC87D00B1AEDF /* Frameworks */,
+ DE47C0E5207AC87D00B1AEDF /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Messaging_Sample_iOS;
+ productName = Messaging_Example_iOS;
+ productReference = DE47C0ED207AC87D00B1AEDF /* Messaging_Sample_iOS.app */;
+ productType = "com.apple.product-type.application";
+ };
DE53893D1FBB62E100199FC2 /* Auth_Tests_tvOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = DE5389491FBB62E100199FC2 /* Build configuration list for PBXNativeTarget "Auth_Tests_tvOS" */;
@@ -2693,7 +2701,6 @@
DE7B8D191E8EF078009EB6DF /* Sources */,
DE7B8D1A1E8EF078009EB6DF /* Frameworks */,
DE7B8D1B1E8EF078009EB6DF /* Resources */,
- D09005341EDB330800154410 /* CopyFiles */,
);
buildRules = (
);
@@ -2729,7 +2736,6 @@
DE9314DA1E86C6BE0083EDBF /* Sources */,
DE9314DB1E86C6BE0083EDBF /* Frameworks */,
DE9314DC1E86C6BE0083EDBF /* Resources */,
- D090052F1EDB32B700154410 /* CopyFiles */,
);
buildRules = (
);
@@ -2748,7 +2754,6 @@
DE9315A31E8738460083EDBF /* Sources */,
DE9315A41E8738460083EDBF /* Frameworks */,
DE9315A51E8738460083EDBF /* Resources */,
- D09005381EDB333700154410 /* CopyFiles */,
);
buildRules = (
);
@@ -2854,7 +2859,6 @@
DEB13A0E1E73507E00AC236D /* Sources */,
DEB13A161E73507E00AC236D /* Frameworks */,
DEB13A1D1E73507E00AC236D /* Resources */,
- D090053A1EDB334000154410 /* CopyFiles */,
);
buildRules = (
);
@@ -2908,7 +2912,6 @@
DEE14D551E84464D006FA992 /* Sources */,
DEE14D561E84464D006FA992 /* Frameworks */,
DEE14D571E84464D006FA992 /* Resources */,
- D09005321EDB32EA00154410 /* CopyFiles */,
);
buildRules = (
);
@@ -3047,6 +3050,9 @@
DevelopmentTeam = EQHXZ8M8AV;
ProvisioningStyle = Automatic;
};
+ DE47C0DC207AC87D00B1AEDF = {
+ DevelopmentTeam = EQHXZ8M8AV;
+ };
DE53893D1FBB62E100199FC2 = {
CreatedOnToolsVersion = 9.1;
DevelopmentTeam = EQHXZ8M8AV;
@@ -3166,6 +3172,7 @@
DE1EC27E1FBA5E63007D18D8 /* Database_Tests_tvOS */,
AFD562E41EB13C6D00EA2233 /* Messaging_Example_iOS */,
DE9315A61E8738460083EDBF /* Messaging_Tests_iOS */,
+ DE47C0DC207AC87D00B1AEDF /* Messaging_Sample_iOS */,
DEB139E01E73506A00AC236D /* Storage_Example_iOS */,
DEB13A0A1E73507E00AC236D /* Storage_Tests_iOS */,
06121EBB1EC399C50008D70E /* Storage_IntegrationTests_iOS */,
@@ -3201,10 +3208,10 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- D018534D1EDACED4003A645C /* LaunchScreen.storyboard in Resources */,
+ DE47C13F207ACAA900B1AEDF /* LaunchScreen.storyboard in Resources */,
+ DEA7795D207ACC8000245121 /* GoogleService-Info.plist in Resources */,
AFAF36F81EC28C25004BDEE5 /* Shared.xcassets in Resources */,
- AFD563151EB29EDE00EA2233 /* GoogleService-Info.plist in Resources */,
- D018534E1EDACED4003A645C /* Main.storyboard in Resources */,
+ DE47C140207ACAA900B1AEDF /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -3363,6 +3370,18 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ DE47C0E5207AC87D00B1AEDF /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DE47C118207AC94A00B1AEDF /* Main.storyboard in Resources */,
+ DE47C0E7207AC87D00B1AEDF /* Shared.xcassets in Resources */,
+ DE47C114207AC94A00B1AEDF /* GoogleService-Info.plist in Resources */,
+ DE47C117207AC94A00B1AEDF /* LaunchScreen.storyboard in Resources */,
+ DE47C119207AC94A00B1AEDF /* Messaging-Info.plist in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
DE53893C1FBB62E100199FC2 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -3545,12 +3564,9 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- AFD563171EBBEF7B00EA2233 /* Data+MessagingExtensions.swift in Sources */,
- AFD5630E1EB1402300EA2233 /* AppDelegate.swift in Sources */,
- AFC8BA9D1EBD230E00B8EEAE /* NotificationsController.swift in Sources */,
- AFD5630F1EB1402300EA2233 /* MessagingViewController.swift in Sources */,
- AFC8BAA71EC257D800B8EEAE /* FIRSampleAppUtilities.m in Sources */,
- AFC8BA9F1EBD51A700B8EEAE /* Environment.swift in Sources */,
+ DE47C142207ACAA900B1AEDF /* main.m in Sources */,
+ DE47C143207ACAA900B1AEDF /* FIRAppDelegate.m in Sources */,
+ DE47C144207ACAA900B1AEDF /* FIRViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -3856,6 +3872,19 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ DE47C0DD207AC87D00B1AEDF /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DE47C11A207AC94A00B1AEDF /* Data+MessagingExtensions.swift in Sources */,
+ DE47C115207AC94A00B1AEDF /* Environment.swift in Sources */,
+ DE47C116207AC94A00B1AEDF /* MessagingViewController.swift in Sources */,
+ DE47C0E2207AC87D00B1AEDF /* FIRSampleAppUtilities.m in Sources */,
+ DE47C11C207AC94A00B1AEDF /* NotificationsController.swift in Sources */,
+ DE47C11B207AC94A00B1AEDF /* AppDelegate.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
DE53893A1FBB62E100199FC2 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -4342,22 +4371,6 @@
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
- D01853491EDACED4003A645C /* LaunchScreen.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- D018534A1EDACED4003A645C /* Base */,
- );
- name = LaunchScreen.storyboard;
- sourceTree = "<group>";
- };
- D018534B1EDACED4003A645C /* Main.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- D018534C1EDACED4003A645C /* Base */,
- );
- name = Main.storyboard;
- sourceTree = "<group>";
- };
D018537B1EDAD0E6003A645C /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
@@ -4402,6 +4415,38 @@
name = Localizable.strings;
sourceTree = "<group>";
};
+ DE47C10C207AC94A00B1AEDF /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DE47C10D207AC94A00B1AEDF /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "<group>";
+ };
+ DE47C10E207AC94A00B1AEDF /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DE47C10F207AC94A00B1AEDF /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "<group>";
+ };
+ DE47C136207ACAA900B1AEDF /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DE47C137207ACAA900B1AEDF /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "<group>";
+ };
+ DE47C138207ACAA900B1AEDF /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DE47C139207ACAA900B1AEDF /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "<group>";
+ };
DE7B8D2C1E8EF202009EB6DF /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
@@ -4683,11 +4728,11 @@
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CODE_SIGN_ENTITLEMENTS = Messaging/App/iOS/Messaging_Example.entitlements;
+ CODE_SIGN_ENTITLEMENTS = Messaging/Sample/iOS/Messaging_Example.entitlements;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = EQHXZ8M8AV;
- INFOPLIST_FILE = "Messaging/App/iOS/Messaging-Info.plist";
+ INFOPLIST_FILE = "Messaging/Sample/iOS/Messaging-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.google.FirebaseMessagingSample.dev;
@@ -4707,12 +4752,12 @@
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CODE_SIGN_ENTITLEMENTS = Messaging/App/iOS/Messaging_Example.entitlements;
+ CODE_SIGN_ENTITLEMENTS = Messaging/Sample/iOS/Messaging_Example.entitlements;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = EQHXZ8M8AV;
- INFOPLIST_FILE = "Messaging/App/iOS/Messaging-Info.plist";
+ INFOPLIST_FILE = "Messaging/Sample/iOS/Messaging-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.google.FirebaseMessagingSample.dev;
@@ -5762,6 +5807,54 @@
};
name = Release;
};
+ DE47C0EB207AC87D00B1AEDF /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CODE_SIGN_ENTITLEMENTS = Messaging/Sample/iOS/Messaging_Example.entitlements;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = EQHXZ8M8AV;
+ INFOPLIST_FILE = "$(SRCROOT)/Messaging/Sample/iOS/Messaging-Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ MTL_ENABLE_DEBUG_INFO = YES;
+ PRODUCT_BUNDLE_IDENTIFIER = com.google.FirebaseMessagingSample.dev;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OBJC_BRIDGING_HEADER = "Messaging/Messaging_Example-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 3.0;
+ };
+ name = Debug;
+ };
+ DE47C0EC207AC87D00B1AEDF /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CODE_SIGN_ENTITLEMENTS = Messaging/Sample/iOS/Messaging_Example.entitlements;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ DEVELOPMENT_TEAM = EQHXZ8M8AV;
+ INFOPLIST_FILE = "$(SRCROOT)/Messaging/Sample/iOS/Messaging-Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ MTL_ENABLE_DEBUG_INFO = NO;
+ PRODUCT_BUNDLE_IDENTIFIER = com.google.FirebaseMessagingSample.dev;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_OBJC_BRIDGING_HEADER = "Messaging/Messaging_Example-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ SWIFT_VERSION = 3.0;
+ };
+ name = Release;
+ };
DE5389451FBB62E100199FC2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -5915,6 +6008,7 @@
"\"${PODS_ROOT}/../../Firebase/Database/Persistence\"",
"\"${PODS_ROOT}/../../Firebase/Database/third_party/FImmutableSortedDictionary/FImmutableSortedDictionary\"",
"\"${PODS_ROOT}/../../Firebase/Database/Core/View\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = "Database/Tests/FirebaseTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
@@ -5955,6 +6049,7 @@
"\"${PODS_ROOT}/../../Firebase/Database/Persistence\"",
"\"${PODS_ROOT}/../../Firebase/Database/third_party/FImmutableSortedDictionary/FImmutableSortedDictionary\"",
"\"${PODS_ROOT}/../../Firebase/Database/Core/View\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = "Database/Tests/FirebaseTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
@@ -6022,6 +6117,7 @@
"\"${PODS_ROOT}/../../Firebase/Auth/Source/RPCs\"",
"\"${PODS_ROOT}/../../Firebase/Auth/Source\"",
"\"${PODS_ROOT}/../../Firebase/Auth/Source/AuthProviders\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = "Auth/Tests/Tests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
@@ -6047,6 +6143,7 @@
"\"${PODS_ROOT}/../../Firebase/Auth/Source/RPCs\"",
"\"${PODS_ROOT}/../../Firebase/Auth/Source\"",
"\"${PODS_ROOT}/../../Firebase/Auth/Source/AuthProviders\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = "Auth/Tests/Tests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
@@ -6061,7 +6158,6 @@
DE9315B01E8738460083EDBF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
@@ -6077,6 +6173,7 @@
"\"${PODS_ROOT}/Headers/Public\"",
"\"${PODS_ROOT}/Headers/Public/FirebaseAnalytics\"",
"\"${PODS_ROOT}/../../Firebase/Messaging\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = Messaging/Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -6090,7 +6187,6 @@
DE9315B11E8738460083EDBF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
@@ -6107,6 +6203,7 @@
"\"${PODS_ROOT}/Headers/Public\"",
"\"${PODS_ROOT}/Headers/Public/FirebaseAnalytics\"",
"\"${PODS_ROOT}/../../Firebase/Messaging\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = Messaging/Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -6433,6 +6530,7 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"\"${PODS_ROOT}/../../Firebase/Storage/Private\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = "Storage/Tests/Tests-Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = "com.google.Storage-Tests-iOS";
@@ -6452,6 +6550,7 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"\"${PODS_ROOT}/../../Firebase/Storage/Private\"",
+ "\"${PODS_ROOT}/Headers/Private\"",
);
INFOPLIST_FILE = "Storage/Tests/Tests-Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = "com.google.Storage-Tests-iOS";
@@ -6565,7 +6664,10 @@
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = "";
- HEADER_SEARCH_PATHS = "$(inherited)";
+ HEADER_SEARCH_PATHS = (
+ "$(inherited)",
+ "${PODS_ROOT}/Headers/Private",
+ );
INFOPLIST_FILE = "Core/Tests/Tests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -6585,7 +6687,10 @@
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "";
- HEADER_SEARCH_PATHS = "$(inherited)";
+ HEADER_SEARCH_PATHS = (
+ "$(inherited)",
+ "${PODS_ROOT}/Headers/Private",
+ );
INFOPLIST_FILE = "Core/Tests/Tests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -6825,6 +6930,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
+ DE47C0EA207AC87D00B1AEDF /* Build configuration list for PBXNativeTarget "Messaging_Sample_iOS" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DE47C0EB207AC87D00B1AEDF /* Debug */,
+ DE47C0EC207AC87D00B1AEDF /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
DE5389491FBB62E100199FC2 /* Build configuration list for PBXNativeTarget "Auth_Tests_tvOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
diff --git a/Example/Firebase.xcodeproj/xcshareddata/xcschemes/Messaging_Sample_iOS.xcscheme b/Example/Firebase.xcodeproj/xcshareddata/xcschemes/Messaging_Sample_iOS.xcscheme
new file mode 100644
index 0000000..57e31f3
--- /dev/null
+++ b/Example/Firebase.xcodeproj/xcshareddata/xcschemes/Messaging_Sample_iOS.xcscheme
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "0930"
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "DE47C0DC207AC87D00B1AEDF"
+ BuildableName = "Messaging_Sample_iOS.app"
+ BlueprintName = "Messaging_Sample_iOS"
+ ReferencedContainer = "container:Firebase.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "DE47C0DC207AC87D00B1AEDF"
+ BuildableName = "Messaging_Sample_iOS.app"
+ BlueprintName = "Messaging_Sample_iOS"
+ ReferencedContainer = "container:Firebase.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </TestAction>
+ <LaunchAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ debugServiceExtension = "internal"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "DE47C0DC207AC87D00B1AEDF"
+ BuildableName = "Messaging_Sample_iOS.app"
+ BlueprintName = "Messaging_Sample_iOS"
+ ReferencedContainer = "container:Firebase.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ buildConfiguration = "Release"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "DE47C0DC207AC87D00B1AEDF"
+ BuildableName = "Messaging_Sample_iOS.app"
+ BlueprintName = "Messaging_Sample_iOS"
+ ReferencedContainer = "container:Firebase.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/Example/Messaging/App/iOS/Base.lproj/LaunchScreen.storyboard b/Example/Messaging/App/iOS/Base.lproj/LaunchScreen.storyboard
index fdf3f97..66a7681 100644
--- a/Example/Messaging/App/iOS/Base.lproj/LaunchScreen.storyboard
+++ b/Example/Messaging/App/iOS/Base.lproj/LaunchScreen.storyboard
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
<dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ <deployment identifier="iOS"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<scenes>
<!--View Controller-->
@@ -14,9 +14,9 @@
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
- <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+ <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
diff --git a/Example/Messaging/App/iOS/Base.lproj/Main.storyboard b/Example/Messaging/App/iOS/Base.lproj/Main.storyboard
index 6df1a82..d164a23 100644
--- a/Example/Messaging/App/iOS/Base.lproj/Main.storyboard
+++ b/Example/Messaging/App/iOS/Base.lproj/Main.storyboard
@@ -1,48 +1,27 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="taE-sK-BOl">
- <device id="retina4_7" orientation="portrait">
- <adaptation id="fullscreen"/>
- </device>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="whP-gf-Uak">
<dependencies>
<deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
</dependencies>
<scenes>
- <!--Firebase Cloud Messaging-->
- <scene sceneID="tne-QT-ifu">
+ <!--View Controller-->
+ <scene sceneID="wQg-tq-qST">
<objects>
- <viewController id="BYZ-38-t0r" customClass="MessagingViewController" customModule="Messaging_Example" customModuleProvider="target" sceneMemberID="viewController">
+ <viewController id="whP-gf-Uak" customClass="FIRViewController" sceneMemberID="viewController">
<layoutGuides>
- <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
- <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
+ <viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/>
+ <viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/>
</layoutGuides>
- <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
- <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+ <view key="view" contentMode="scaleToFill" id="TpU-gO-2f1">
+ <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
- <navigationItem key="navigationItem" title="Firebase Cloud Messaging" id="z1u-kE-qKb"/>
</viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="tc2-Qw-aMS" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
- <point key="canvasLocation" x="698" y="164"/>
- </scene>
- <!--Navigation Controller-->
- <scene sceneID="rmF-xz-rwn">
- <objects>
- <placeholder placeholderIdentifier="IBFirstResponder" id="Ju1-Bj-8eG" userLabel="First Responder" sceneMemberID="firstResponder"/>
- <navigationController id="taE-sK-BOl" sceneMemberID="viewController">
- <navigationBar key="navigationBar" contentMode="scaleToFill" id="iTL-Kg-11w">
- <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- </navigationBar>
- <connections>
- <segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="04R-HZ-bi6"/>
- </connections>
- </navigationController>
- </objects>
- <point key="canvasLocation" x="-92" y="165"/>
+ <point key="canvasLocation" x="305" y="433"/>
</scene>
</scenes>
</document>
diff --git a/Example/Messaging/App/iOS/FIRAppDelegate.h b/Example/Messaging/App/iOS/FIRAppDelegate.h
new file mode 100644
index 0000000..1eb5040
--- /dev/null
+++ b/Example/Messaging/App/iOS/FIRAppDelegate.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2017 Google
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+@import UIKit;
+
+@interface FIRAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property(strong, nonatomic) UIWindow *window;
+
+@end
diff --git a/Example/Messaging/App/iOS/FIRAppDelegate.m b/Example/Messaging/App/iOS/FIRAppDelegate.m
new file mode 100644
index 0000000..535e529
--- /dev/null
+++ b/Example/Messaging/App/iOS/FIRAppDelegate.m
@@ -0,0 +1,58 @@
+// Copyright 2017 Google
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "FIRAppDelegate.h"
+
+#import <FirebaseCore/FIRApp.h>
+
+@implementation FIRAppDelegate
+
+- (BOOL)application:(UIApplication *)application
+ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+ [FIRApp configure];
+ return YES;
+}
+
+- (void)applicationWillResignActive:(UIApplication *)application {
+ // Sent when the application is about to move from active to inactive state. This can occur for
+ // certain types of temporary interruptions (such as an incoming phone call or SMS message) or
+ // when the user quits the application and it begins the transition to the background state.
+ // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame
+ // rates. Games should use this method to pause the game.
+}
+
+- (void)applicationDidEnterBackground:(UIApplication *)application {
+ // Use this method to release shared resources, save user data, invalidate timers, and store
+ // enough application state information to restore your application to its current state in case
+ // it is terminated later.
+ // If your application supports background execution, this method is called instead of
+ // applicationWillTerminate: when the user quits.
+}
+
+- (void)applicationWillEnterForeground:(UIApplication *)application {
+ // Called as part of the transition from the background to the inactive state; here you can undo
+ // many of the changes made on entering the background.
+}
+
+- (void)applicationDidBecomeActive:(UIApplication *)application {
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If
+ // the application was previously in the background, optionally refresh the user interface.
+}
+
+- (void)applicationWillTerminate:(UIApplication *)application {
+ // Called when the application is about to terminate. Save data if appropriate. See also
+ // applicationDidEnterBackground:.
+}
+
+@end
diff --git a/Example/Messaging/App/iOS/FIRViewController.h b/Example/Messaging/App/iOS/FIRViewController.h
new file mode 100644
index 0000000..64b4b74
--- /dev/null
+++ b/Example/Messaging/App/iOS/FIRViewController.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2017 Google
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+@import UIKit;
+
+@interface FIRViewController : UIViewController
+
+@end
diff --git a/Example/Messaging/App/iOS/FIRViewController.m b/Example/Messaging/App/iOS/FIRViewController.m
new file mode 100644
index 0000000..027aabf
--- /dev/null
+++ b/Example/Messaging/App/iOS/FIRViewController.m
@@ -0,0 +1,33 @@
+// Copyright 2017 Google
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "FIRViewController.h"
+
+@interface FIRViewController ()
+
+@end
+
+@implementation FIRViewController
+
+- (void)viewDidLoad {
+ [super viewDidLoad];
+ // Do any additional setup after loading the view, typically from a nib.
+}
+
+- (void)didReceiveMemoryWarning {
+ [super didReceiveMemoryWarning];
+ // Dispose of any resources that can be recreated.
+}
+
+@end
diff --git a/Example/Messaging/App/iOS/main.m b/Example/Messaging/App/iOS/main.m
new file mode 100644
index 0000000..39c05a5
--- /dev/null
+++ b/Example/Messaging/App/iOS/main.m
@@ -0,0 +1,22 @@
+// Copyright 2017 Google
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+@import UIKit;
+#import "FIRAppDelegate.h"
+
+int main(int argc, char* argv[]) {
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([FIRAppDelegate class]));
+ }
+}
diff --git a/Example/Messaging/App/GoogleService-Info.plist b/Example/Messaging/Sample/GoogleService-Info.plist
index 3f7547f..3f7547f 100644
--- a/Example/Messaging/App/GoogleService-Info.plist
+++ b/Example/Messaging/Sample/GoogleService-Info.plist
diff --git a/Example/Messaging/App/iOS/AppDelegate.swift b/Example/Messaging/Sample/iOS/AppDelegate.swift
index 89a5120..89a5120 100644
--- a/Example/Messaging/App/iOS/AppDelegate.swift
+++ b/Example/Messaging/Sample/iOS/AppDelegate.swift
diff --git a/Example/Messaging/Sample/iOS/Base.lproj/LaunchScreen.storyboard b/Example/Messaging/Sample/iOS/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000..fdf3f97
--- /dev/null
+++ b/Example/Messaging/Sample/iOS/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--View Controller-->
+ <scene sceneID="EHf-IW-A2E">
+ <objects>
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
+ <layoutGuides>
+ <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
+ <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
+ </layoutGuides>
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ </view>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="53" y="375"/>
+ </scene>
+ </scenes>
+</document>
diff --git a/Example/Messaging/Sample/iOS/Base.lproj/Main.storyboard b/Example/Messaging/Sample/iOS/Base.lproj/Main.storyboard
new file mode 100644
index 0000000..6df1a82
--- /dev/null
+++ b/Example/Messaging/Sample/iOS/Base.lproj/Main.storyboard
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="taE-sK-BOl">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
+ <dependencies>
+ <deployment identifier="iOS"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--Firebase Cloud Messaging-->
+ <scene sceneID="tne-QT-ifu">
+ <objects>
+ <viewController id="BYZ-38-t0r" customClass="MessagingViewController" customModule="Messaging_Example" customModuleProvider="target" sceneMemberID="viewController">
+ <layoutGuides>
+ <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
+ <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
+ </layoutGuides>
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ </view>
+ <navigationItem key="navigationItem" title="Firebase Cloud Messaging" id="z1u-kE-qKb"/>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="698" y="164"/>
+ </scene>
+ <!--Navigation Controller-->
+ <scene sceneID="rmF-xz-rwn">
+ <objects>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="Ju1-Bj-8eG" userLabel="First Responder" sceneMemberID="firstResponder"/>
+ <navigationController id="taE-sK-BOl" sceneMemberID="viewController">
+ <navigationBar key="navigationBar" contentMode="scaleToFill" id="iTL-Kg-11w">
+ <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </navigationBar>
+ <connections>
+ <segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="04R-HZ-bi6"/>
+ </connections>
+ </navigationController>
+ </objects>
+ <point key="canvasLocation" x="-92" y="165"/>
+ </scene>
+ </scenes>
+</document>
diff --git a/Example/Messaging/App/iOS/Data+MessagingExtensions.swift b/Example/Messaging/Sample/iOS/Data+MessagingExtensions.swift
index 99ded25..99ded25 100644
--- a/Example/Messaging/App/iOS/Data+MessagingExtensions.swift
+++ b/Example/Messaging/Sample/iOS/Data+MessagingExtensions.swift
diff --git a/Example/Messaging/App/iOS/Environment.swift b/Example/Messaging/Sample/iOS/Environment.swift
index 5219c64..5219c64 100644
--- a/Example/Messaging/App/iOS/Environment.swift
+++ b/Example/Messaging/Sample/iOS/Environment.swift
diff --git a/Example/Messaging/App/iOS/Messaging-Info.plist b/Example/Messaging/Sample/iOS/Messaging-Info.plist
index b43105e..b43105e 100644
--- a/Example/Messaging/App/iOS/Messaging-Info.plist
+++ b/Example/Messaging/Sample/iOS/Messaging-Info.plist
diff --git a/Example/Messaging/App/iOS/MessagingViewController.swift b/Example/Messaging/Sample/iOS/MessagingViewController.swift
index 9bd07c1..9bd07c1 100644
--- a/Example/Messaging/App/iOS/MessagingViewController.swift
+++ b/Example/Messaging/Sample/iOS/MessagingViewController.swift
diff --git a/Example/Messaging/App/iOS/Messaging_Example.entitlements b/Example/Messaging/Sample/iOS/Messaging_Example.entitlements
index 903def2..903def2 100644
--- a/Example/Messaging/App/iOS/Messaging_Example.entitlements
+++ b/Example/Messaging/Sample/iOS/Messaging_Example.entitlements
diff --git a/Example/Messaging/App/iOS/NotificationsController.swift b/Example/Messaging/Sample/iOS/NotificationsController.swift
index 7545b44..7545b44 100644
--- a/Example/Messaging/App/iOS/NotificationsController.swift
+++ b/Example/Messaging/Sample/iOS/NotificationsController.swift
diff --git a/Example/Podfile b/Example/Podfile
index 27204be..56f896b 100644
--- a/Example/Podfile
+++ b/Example/Podfile
@@ -52,7 +52,6 @@ target 'Messaging_Example_iOS' do
platform :ios, '8.0'
pod 'FirebaseMessaging' , :path => '../'
- pod 'FirebaseInstanceID'
target 'Messaging_Tests_iOS' do
inherit! :search_paths
@@ -60,6 +59,11 @@ target 'Messaging_Example_iOS' do
end
end
+target 'Messaging_Sample_iOS' do
+ platform :ios, '8.0'
+ pod 'FirebaseMessaging' , :path => '../'
+end
+
target 'Storage_Example_iOS' do
platform :ios, '8.0'
diff --git a/Example/Storage/App/iOS/FIRAppDelegate.m b/Example/Storage/App/iOS/FIRAppDelegate.m
index d8e4497..9568d06 100644
--- a/Example/Storage/App/iOS/FIRAppDelegate.m
+++ b/Example/Storage/App/iOS/FIRAppDelegate.m
@@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-@import FirebaseStorage;
-
#import "FIRAppDelegate.h"
@implementation FIRAppDelegate