diff --git a/Examples/simple-fcm-client/ios/GoogleService-Info.plist b/Examples/simple-fcm-client/ios/GoogleService-Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..826026117f00e5ba83907a1b90ec6ce892094805 --- /dev/null +++ b/Examples/simple-fcm-client/ios/GoogleService-Info.plist @@ -0,0 +1,40 @@ + + + + + AD_UNIT_ID_FOR_BANNER_TEST + ca-app-pub-3940256099942544/2934735716 + AD_UNIT_ID_FOR_INTERSTITIAL_TEST + ca-app-pub-3940256099942544/4411468910 + CLIENT_ID + 921337447974-nkp854vmsbldse8r7um80tj8h93h21f5.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.921337447974-nkp854vmsbldse8r7um80tj8h93h21f5 + API_KEY + AIzaSyDe8YJFybMewQFa6PVT7M01hb8K7Ct6AnU + GCM_SENDER_ID + 921337447974 + PLIST_VERSION + 1 + BUNDLE_ID + fcm.simplefcmclient + PROJECT_ID + simplefcmclient-d7db1 + STORAGE_BUCKET + simplefcmclient-d7db1.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:921337447974:ios:b71c73a2fedb7a5a + DATABASE_URL + https://simplefcmclient-d7db1.firebaseio.com + + \ No newline at end of file diff --git a/Examples/simple-fcm-client/ios/SimpleFcmClient.xcodeproj/project.pbxproj b/Examples/simple-fcm-client/ios/SimpleFcmClient.xcodeproj/project.pbxproj index 6c477c4b7c63c0f84719238f2f08e7acdbe94220..fcb61c0039d86553bd113cbc7e7de15e564b80f7 100644 --- a/Examples/simple-fcm-client/ios/SimpleFcmClient.xcodeproj/project.pbxproj +++ b/Examples/simple-fcm-client/ios/SimpleFcmClient.xcodeproj/project.pbxproj @@ -30,6 +30,7 @@ 4339BFDD1DAEBA7300F53B62 /* GoogleUtilities.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4339BFD71DAEBA7300F53B62 /* GoogleUtilities.framework */; }; 4339BFE01DAEBA7F00F53B62 /* FirebaseMessaging.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4339BFDE1DAEBA7F00F53B62 /* FirebaseMessaging.framework */; }; 4339BFE11DAEBA7F00F53B62 /* GoogleIPhoneUtilities.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4339BFDF1DAEBA7F00F53B62 /* GoogleIPhoneUtilities.framework */; }; + 4339BFE51DAED44A00F53B62 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4339BFE41DAED44A00F53B62 /* GoogleService-Info.plist */; }; 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; FAE94A218EB64E38BF8D8E9B /* libRNFIRMessaging.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 692E216422234A4CB6A7A838 /* libRNFIRMessaging.a */; }; /* End PBXBuildFile section */ @@ -151,6 +152,8 @@ 4339BFDF1DAEBA7F00F53B62 /* GoogleIPhoneUtilities.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = GoogleIPhoneUtilities.framework; sourceTree = ""; }; 4339BFE21DAEBB3500F53B62 /* Firebase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Firebase.h; sourceTree = ""; }; 4339BFE31DAEBB4800F53B62 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = ""; }; + 4339BFE41DAED44A00F53B62 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; + 4339BFE61DAED4D900F53B62 /* SimpleFcmClient.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = SimpleFcmClient.entitlements; path = SimpleFcmClient/SimpleFcmClient.entitlements; sourceTree = ""; }; 692E216422234A4CB6A7A838 /* libRNFIRMessaging.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFIRMessaging.a; sourceTree = ""; }; 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; @@ -271,6 +274,8 @@ 13B07FAE1A68108700A75B9A /* SimpleFcmClient */ = { isa = PBXGroup; children = ( + 4339BFE61DAED4D900F53B62 /* SimpleFcmClient.entitlements */, + 4339BFE41DAED44A00F53B62 /* GoogleService-Info.plist */, 4339BFE31DAEBB4800F53B62 /* module.modulemap */, 4339BFE21DAEBB3500F53B62 /* Firebase.h */, 008F07F21AC5B25A0029DE68 /* main.jsbundle */, @@ -421,8 +426,21 @@ TargetAttributes = { 00E356ED1AD99517003FC87E = { CreatedOnToolsVersion = 6.2; + DevelopmentTeam = 7GX5PDNNM3; TestTargetID = 13B07F861A680F5B00A75B9A; }; + 13B07F861A680F5B00A75B9A = { + DevelopmentTeam = 7GX5PDNNM3; + ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.BackgroundModes = { + enabled = 1; + }; + com.apple.Push = { + enabled = 1; + }; + }; + }; }; }; buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "SimpleFcmClient" */; @@ -582,6 +600,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 4339BFE51DAED44A00F53B62 /* GoogleService-Info.plist in Resources */, 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, ); @@ -651,6 +670,7 @@ isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = 7GX5PDNNM3; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -673,6 +693,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; + DEVELOPMENT_TEAM = 7GX5PDNNM3; INFOPLIST_FILE = SimpleFcmClientTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; @@ -690,8 +711,11 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = SimpleFcmClient/SimpleFcmClient.entitlements; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = NO; + DEVELOPMENT_TEAM = 7GX5PDNNM3; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)", @@ -709,7 +733,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = fcm.simplefcmclient; PRODUCT_NAME = SimpleFcmClient; USER_HEADER_SEARCH_PATHS = ./SimpleFcmClient/; VERSIONING_SYSTEM = "apple-generic"; @@ -720,7 +744,10 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = SimpleFcmClient/SimpleFcmClient.entitlements; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 7GX5PDNNM3; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)", @@ -738,7 +765,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = fcm.simplefcmclient; PRODUCT_NAME = SimpleFcmClient; USER_HEADER_SEARCH_PATHS = ./SimpleFcmClient/; VERSIONING_SYSTEM = "apple-generic"; diff --git a/Examples/simple-fcm-client/ios/SimpleFcmClient/Images.xcassets/AppIcon.appiconset/Contents.json b/Examples/simple-fcm-client/ios/SimpleFcmClient/Images.xcassets/AppIcon.appiconset/Contents.json index 118c98f7461bf98b2bc7e061150d8021121ad277..b8236c65348164bf01a6f5e909f07ea57ade94ce 100644 --- a/Examples/simple-fcm-client/ios/SimpleFcmClient/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Examples/simple-fcm-client/ios/SimpleFcmClient/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "29x29", diff --git a/Examples/simple-fcm-client/ios/SimpleFcmClient/Info.plist b/Examples/simple-fcm-client/ios/SimpleFcmClient/Info.plist index 3e5fb718738824d16b77daca8676512deccbf320..0c8c676ba4bf2b16590318105b0f87540e092c64 100644 --- a/Examples/simple-fcm-client/ios/SimpleFcmClient/Info.plist +++ b/Examples/simple-fcm-client/ios/SimpleFcmClient/Info.plist @@ -4,6 +4,8 @@ CFBundleDevelopmentRegion en + CFBundleDisplayName + Simple Fcm Client CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -35,6 +37,10 @@ NSLocationWhenInUseUsageDescription + UIBackgroundModes + + remote-notification + UILaunchStoryboardName LaunchScreen UIRequiredDeviceCapabilities diff --git a/Examples/simple-fcm-client/ios/SimpleFcmClient/SimpleFcmClient.entitlements b/Examples/simple-fcm-client/ios/SimpleFcmClient/SimpleFcmClient.entitlements new file mode 100644 index 0000000000000000000000000000000000000000..903def2af53062463744294d5ad4c4ef8d9a4381 --- /dev/null +++ b/Examples/simple-fcm-client/ios/SimpleFcmClient/SimpleFcmClient.entitlements @@ -0,0 +1,8 @@ + + + + + aps-environment + development + +