Skip to content

Commit 2ebf6d4

Browse files
committed
chore: ios rename files
1 parent b3e5ce3 commit 2ebf6d4

File tree

22 files changed

+1026
-2
lines changed

22 files changed

+1026
-2
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ yarn-error.log
1414

1515
.env.**
1616

17-
ios/
18-
android/
1917

2018
# macOS
2119
.DS_Store

ios/ReactNativeTemplate.xcodeproj/project.pbxproj

Lines changed: 565 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1130"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18+
BuildableName = "ReactNativeTemplate.app"
19+
BlueprintName = "ReactNativeTemplate"
20+
ReferencedContainer = "container:ReactNativeTemplate.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
36+
BuildableName = "ObytesAppTests.xctest"
37+
BlueprintName = "ObytesAppTests"
38+
ReferencedContainer = "container:ReactNativeTemplate.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
</TestAction>
43+
<LaunchAction
44+
buildConfiguration = "Debug"
45+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
launchStyle = "0"
48+
useCustomWorkingDirectory = "NO"
49+
ignoresPersistentStateOnLaunch = "NO"
50+
debugDocumentVersioning = "YES"
51+
debugServiceExtension = "internal"
52+
allowLocationSimulation = "YES">
53+
<BuildableProductRunnable
54+
runnableDebuggingMode = "0">
55+
<BuildableReference
56+
BuildableIdentifier = "primary"
57+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
58+
BuildableName = "ReactNativeTemplate.app"
59+
BlueprintName = "ReactNativeTemplate"
60+
ReferencedContainer = "container:ReactNativeTemplate.xcodeproj">
61+
</BuildableReference>
62+
</BuildableProductRunnable>
63+
</LaunchAction>
64+
<ProfileAction
65+
buildConfiguration = "Release"
66+
shouldUseLaunchSchemeArgsEnv = "YES"
67+
savedToolIdentifier = ""
68+
useCustomWorkingDirectory = "NO"
69+
debugDocumentVersioning = "YES">
70+
<BuildableProductRunnable
71+
runnableDebuggingMode = "0">
72+
<BuildableReference
73+
BuildableIdentifier = "primary"
74+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
75+
BuildableName = "ReactNativeTemplate.app"
76+
BlueprintName = "ReactNativeTemplate"
77+
ReferencedContainer = "container:ReactNativeTemplate.xcodeproj">
78+
</BuildableReference>
79+
</BuildableProductRunnable>
80+
</ProfileAction>
81+
<AnalyzeAction
82+
buildConfiguration = "Debug">
83+
</AnalyzeAction>
84+
<ArchiveAction
85+
buildConfiguration = "Release"
86+
revealArchiveInOrganizer = "YES">
87+
</ArchiveAction>
88+
</Scheme>

ios/ReactNativeTemplate.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#import <RCTAppDelegate.h>
2+
#import <UIKit/UIKit.h>
3+
#import <Expo/Expo.h>
4+
5+
@interface AppDelegate : EXAppDelegateWrapper
6+
7+
@end
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#import "AppDelegate.h"
2+
3+
#import <React/RCTBundleURLProvider.h>
4+
#import <React/RCTLinkingManager.h>
5+
6+
@implementation AppDelegate
7+
8+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
9+
{
10+
self.moduleName = @"main";
11+
12+
// You can add your custom initial props in the dictionary below.
13+
// They will be passed down to the ViewController used by React Native.
14+
self.initialProps = @{};
15+
16+
return [super application:application didFinishLaunchingWithOptions:launchOptions];
17+
}
18+
19+
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
20+
{
21+
return [self bundleURL];
22+
}
23+
24+
- (NSURL *)bundleURL
25+
{
26+
#if DEBUG
27+
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@".expo/.virtual-metro-entry"];
28+
#else
29+
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
30+
#endif
31+
}
32+
33+
// Linking API
34+
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
35+
return [super application:application openURL:url options:options] || [RCTLinkingManager application:application openURL:url options:options];
36+
}
37+
38+
// Universal Links
39+
- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler {
40+
BOOL result = [RCTLinkingManager application:application continueUserActivity:userActivity restorationHandler:restorationHandler];
41+
return [super application:application continueUserActivity:userActivity restorationHandler:restorationHandler] || result;
42+
}
43+
44+
// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
45+
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
46+
{
47+
return [super application:application didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
48+
}
49+
50+
// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
51+
- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error
52+
{
53+
return [super application:application didFailToRegisterForRemoteNotificationsWithError:error];
54+
}
55+
56+
// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
57+
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
58+
{
59+
return [super application:application didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
60+
}
61+
62+
@end
204 KB
Loading
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"images": [
3+
{
4+
"filename": "[email protected]",
5+
"idiom": "universal",
6+
"platform": "ios",
7+
"size": "1024x1024"
8+
}
9+
],
10+
"info": {
11+
"version": 1,
12+
"author": "expo"
13+
}
14+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info": {
3+
"version": 1,
4+
"author": "expo"
5+
}
6+
}

0 commit comments

Comments
 (0)