Skip to content

Commit

Permalink
chore: renaming app targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed-Ali committed Jun 23, 2024
1 parent bdc6909 commit 6e575d0
Show file tree
Hide file tree
Showing 11 changed files with 97 additions and 98 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>APN_Example</string>
<string>APN</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
155 changes: 79 additions & 76 deletions example/ios/CustomerIO_RN.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "APN_Example.app"
BlueprintName = "APN_Example"
BuildableName = "APN.app"
BlueprintName = "APN"
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -45,8 +45,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "APN_Example.app"
BlueprintName = "APN_Example"
BuildableName = "APN.app"
BlueprintName = "APN"
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
Expand All @@ -62,8 +62,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "APN_Example.app"
BlueprintName = "APN_Example"
BuildableName = "APN.app"
BlueprintName = "APN"
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6087A9D32C20AAE80071E0EE"
BuildableName = "FCM_Example.app"
BlueprintName = "FCM_Example"
BuildableName = "FCM.app"
BlueprintName = "FCM"
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -45,8 +45,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6087A9D32C20AAE80071E0EE"
BuildableName = "FCM_Example.app"
BlueprintName = "FCM_Example"
BuildableName = "FCM.app"
BlueprintName = "FCM"
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
Expand All @@ -62,8 +62,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6087A9D32C20AAE80071E0EE"
BuildableName = "FCM_Example.app"
BlueprintName = "FCM_Example"
BuildableName = "FCM.app"
BlueprintName = "FCM"
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>FCM_Example</string>
<string>FCM</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>APN_Example</string>
<string>APN</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ abstract_target 'CustomerIO_RN' do
pod 'CustomerIODataPipelines', :path => '../../cio-native-sdks/customerio-ios'
pod 'CustomerIOMessagingInApp', :path => '../../cio-native-sdks/customerio-ios'

target 'APN_Example' do
target 'APN' do
pod 'CustomerIOReactNativePush/APN', :path => '../..'
pod 'CustomerIOMessagingPushAPN', :path => '../../cio-native-sdks/customerio-ios'

end

target 'FCM_Example' do
target 'FCM' do
pod 'CustomerIOReactNativePush/FCM', :path => '../..'
pod 'CustomerIOMessagingPushFCM', :path => '../../cio-native-sdks/customerio-ios'
end
Expand Down
4 changes: 0 additions & 4 deletions example/ios/Shared/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,4 @@ - (NSURL *)bundleURL
#endif
}

- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
[CioMessagingPush application:application didFailToRegisterForRemoteNotificationsWithError:error];
}

@end
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ios-apn": "yarn ios --scheme APN",
"start": "react-native start --reset-cache",
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
"build:ios": "cd ios && xcodebuild -workspace CustomerIO_RN.xcworkspace -scheme APN_Example -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
"build:ios": "cd ios && xcodebuild -workspace CustomerIO_RN.xcworkspace -scheme APN -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
"pods": "npx pod-install"
},
"dependencies": {
Expand Down

0 comments on commit 6e575d0

Please sign in to comment.