expo-template-bare-minimum 52.0.47 → 53.0.0-canary-20241211-61c49bd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,15 +23,31 @@ buildscript {
23
23
 
24
24
  apply plugin: "com.facebook.react.rootproject"
25
25
 
26
+ def reactNativeAndroidDir = new File(
27
+ providers.exec {
28
+ workingDir(rootDir)
29
+ commandLine("node", "--print", "require.resolve('react-native/package.json')")
30
+ }.standardOutput.asText.get().trim(),
31
+ "../android"
32
+ )
33
+
34
+ def jscAndroidDir = new File(
35
+ providers.exec {
36
+ workingDir(rootDir)
37
+ commandLine("node", "--print", "require.resolve('jsc-android/package.json', { paths: [require.resolve('react-native/package.json')] })")
38
+ }.standardOutput.asText.get().trim(),
39
+ "../dist"
40
+ )
41
+
26
42
  allprojects {
27
43
  repositories {
28
44
  maven {
29
45
  // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
30
- url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android'))
46
+ url(reactNativeAndroidDir)
31
47
  }
32
48
  maven {
33
49
  // Android JSC is installed from npm
34
- url(new File(['node', '--print', "require.resolve('jsc-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), '../dist'))
50
+ url(jscAndroidDir)
35
51
  }
36
52
 
37
53
  google()
@@ -0,0 +1,42 @@
1
+ import React
2
+ import Expo
3
+
4
+ @UIApplicationMain
5
+ public class AppDelegate: ExpoAppDelegate {
6
+ public override func application(
7
+ _ application: UIApplication,
8
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
9
+ ) -> Bool {
10
+ self.moduleName = "main"
11
+ self.initialProps = [:]
12
+
13
+ return super.application(application, didFinishLaunchingWithOptions: launchOptions)
14
+ }
15
+
16
+ public override func bundleURL() -> URL? {
17
+ #if DEBUG
18
+ return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: ".expo/.virtual-metro-entry")
19
+ #else
20
+ return Bundle.main.url(forResource: "main", withExtension: "jsbundle")
21
+ #endif
22
+ }
23
+
24
+ // Linking API
25
+ public override func application(
26
+ _ app: UIApplication,
27
+ open url: URL,
28
+ options: [UIApplication.OpenURLOptionsKey: Any] = [:]
29
+ ) -> Bool {
30
+ return super.application(app, open: url, options: options) || RCTLinkingManager.application(app, open: url, options: options)
31
+ }
32
+
33
+ // Universal Links
34
+ public override func application(
35
+ _ application: UIApplication,
36
+ continue userActivity: NSUserActivity,
37
+ restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void
38
+ ) -> Bool {
39
+ let result = RCTLinkingManager.application(application, continue: userActivity, restorationHandler: restorationHandler)
40
+ return super.application(application, continue: userActivity, restorationHandler: restorationHandler) || result
41
+ }
42
+ }
@@ -0,0 +1,3 @@
1
+ //
2
+ // Use this file to import your target's public headers that you would like to expose to Swift.
3
+ //
@@ -3,32 +3,30 @@
3
3
  archiveVersion = 1;
4
4
  classes = {
5
5
  };
6
- objectVersion = 46;
6
+ objectVersion = 54;
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
- 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
11
10
  13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12
- 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
13
11
  3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */; };
14
12
  96905EF65AED1B983A6B3ABC /* libPods-HelloWorld.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 58EEBF8E8E6FB1BC6CAF49B5 /* libPods-HelloWorld.a */; };
15
13
  B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */; };
16
14
  BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; };
15
+ F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F11748412D0307B40044C1D9 /* AppDelegate.swift */; };
17
16
  /* End PBXBuildFile section */
18
17
 
19
18
  /* Begin PBXFileReference section */
20
19
  13B07F961A680F5B00A75B9A /* HelloWorld.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloWorld.app; sourceTree = BUILT_PRODUCTS_DIR; };
21
- 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = HelloWorld/AppDelegate.h; sourceTree = "<group>"; };
22
- 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = HelloWorld/AppDelegate.mm; sourceTree = "<group>"; };
23
20
  13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = HelloWorld/Images.xcassets; sourceTree = "<group>"; };
24
21
  13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = HelloWorld/Info.plist; sourceTree = "<group>"; };
25
- 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = HelloWorld/main.m; sourceTree = "<group>"; };
26
22
  58EEBF8E8E6FB1BC6CAF49B5 /* libPods-HelloWorld.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HelloWorld.a"; sourceTree = BUILT_PRODUCTS_DIR; };
27
23
  6C2E3173556A471DD304B334 /* Pods-HelloWorld.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld.debug.xcconfig"; path = "Target Support Files/Pods-HelloWorld/Pods-HelloWorld.debug.xcconfig"; sourceTree = "<group>"; };
28
24
  7A4D352CD337FB3A3BF06240 /* Pods-HelloWorld.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld.release.xcconfig"; path = "Target Support Files/Pods-HelloWorld/Pods-HelloWorld.release.xcconfig"; sourceTree = "<group>"; };
29
25
  AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = SplashScreen.storyboard; path = HelloWorld/SplashScreen.storyboard; sourceTree = "<group>"; };
30
26
  BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; };
31
27
  ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
28
+ F11748412D0307B40044C1D9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = HelloWorld/AppDelegate.swift; sourceTree = "<group>"; };
29
+ F11748442D0722820044C1D9 /* HelloWorld-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "HelloWorld-Bridging-Header.h"; path = "HelloWorld/HelloWorld-Bridging-Header.h"; sourceTree = "<group>"; };
32
30
  FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-HelloWorld/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
33
31
  /* End PBXFileReference section */
34
32
 
@@ -47,12 +45,11 @@
47
45
  13B07FAE1A68108700A75B9A /* HelloWorld */ = {
48
46
  isa = PBXGroup;
49
47
  children = (
48
+ F11748412D0307B40044C1D9 /* AppDelegate.swift */,
49
+ F11748442D0722820044C1D9 /* HelloWorld-Bridging-Header.h */,
50
50
  BB2F792B24A3F905000567C9 /* Supporting */,
51
- 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
52
- 13B07FB01A68108700A75B9A /* AppDelegate.mm */,
53
51
  13B07FB51A68108700A75B9A /* Images.xcassets */,
54
52
  13B07FB61A68108700A75B9A /* Info.plist */,
55
- 13B07FB71A68108700A75B9A /* main.m */,
56
53
  AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */,
57
54
  );
58
55
  name = HelloWorld;
@@ -265,8 +262,7 @@
265
262
  isa = PBXSourcesBuildPhase;
266
263
  buildActionMask = 2147483647;
267
264
  files = (
268
- 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
269
- 13B07FC11A68108700A75B9A /* main.m in Sources */,
265
+ F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */,
270
266
  B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */,
271
267
  );
272
268
  runOnlyForDeploymentPostprocessing = 0;
@@ -288,7 +284,10 @@
288
284
  );
289
285
  INFOPLIST_FILE = HelloWorld/Info.plist;
290
286
  IPHONEOS_DEPLOYMENT_TARGET = 15.1;
291
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
287
+ LD_RUNPATH_SEARCH_PATHS = (
288
+ "$(inherited)",
289
+ "@executable_path/Frameworks",
290
+ );
292
291
  MARKETING_VERSION = 1.0;
293
292
  OTHER_LDFLAGS = (
294
293
  "$(inherited)",
@@ -297,6 +296,7 @@
297
296
  );
298
297
  PRODUCT_BUNDLE_IDENTIFIER = org.name.HelloWorld;
299
298
  PRODUCT_NAME = HelloWorld;
299
+ SWIFT_OBJC_BRIDGING_HEADER = "HelloWorld/HelloWorld-Bridging-Header.h";
300
300
  SWIFT_OPTIMIZATION_LEVEL = "-Onone";
301
301
  SWIFT_VERSION = 5.0;
302
302
  VERSIONING_SYSTEM = "apple-generic";
@@ -312,7 +312,10 @@
312
312
  CURRENT_PROJECT_VERSION = 1;
313
313
  INFOPLIST_FILE = HelloWorld/Info.plist;
314
314
  IPHONEOS_DEPLOYMENT_TARGET = 15.1;
315
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
315
+ LD_RUNPATH_SEARCH_PATHS = (
316
+ "$(inherited)",
317
+ "@executable_path/Frameworks",
318
+ );
316
319
  MARKETING_VERSION = 1.0;
317
320
  OTHER_LDFLAGS = (
318
321
  "$(inherited)",
@@ -321,6 +324,7 @@
321
324
  );
322
325
  PRODUCT_BUNDLE_IDENTIFIER = org.name.HelloWorld;
323
326
  PRODUCT_NAME = HelloWorld;
327
+ SWIFT_OBJC_BRIDGING_HEADER = "HelloWorld/HelloWorld-Bridging-Header.h";
324
328
  SWIFT_VERSION = 5.0;
325
329
  VERSIONING_SYSTEM = "apple-generic";
326
330
  };
@@ -374,7 +378,10 @@
374
378
  GCC_WARN_UNUSED_FUNCTION = YES;
375
379
  GCC_WARN_UNUSED_VARIABLE = YES;
376
380
  IPHONEOS_DEPLOYMENT_TARGET = 15.1;
377
- LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
381
+ LD_RUNPATH_SEARCH_PATHS = (
382
+ /usr/lib/swift,
383
+ "$(inherited)",
384
+ );
378
385
  LIBRARY_SEARCH_PATHS = "\"$(inherited)\"";
379
386
  MTL_ENABLE_DEBUG_INFO = YES;
380
387
  ONLY_ACTIVE_ARCH = YES;
@@ -423,7 +430,10 @@
423
430
  GCC_WARN_UNUSED_FUNCTION = YES;
424
431
  GCC_WARN_UNUSED_VARIABLE = YES;
425
432
  IPHONEOS_DEPLOYMENT_TARGET = 15.1;
426
- LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
433
+ LD_RUNPATH_SEARCH_PATHS = (
434
+ /usr/lib/swift,
435
+ "$(inherited)",
436
+ );
427
437
  LIBRARY_SEARCH_PATHS = "\"$(inherited)\"";
428
438
  MTL_ENABLE_DEBUG_INFO = NO;
429
439
  SDKROOT = iphoneos;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "expo-template-bare-minimum",
3
3
  "description": "This bare project template includes a minimal setup for using unimodules with React Native.",
4
4
  "license": "0BSD",
5
- "version": "52.0.47",
5
+ "version": "53.0.0-canary-20241211-61c49bd",
6
6
  "main": "index.js",
7
7
  "scripts": {
8
8
  "start": "expo start --dev-client",
@@ -11,10 +11,10 @@
11
11
  "web": "expo start --web"
12
12
  },
13
13
  "dependencies": {
14
- "expo": "~52.0.18",
15
- "expo-status-bar": "~2.0.0",
14
+ "expo": "53.0.0-canary-20241211-61c49bd",
15
+ "expo-status-bar": "2.0.1-canary-20241211-61c49bd",
16
16
  "react": "18.3.1",
17
- "react-native": "0.76.5"
17
+ "react-native": "0.76.3"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@babel/core": "^7.20.0"
@@ -1,7 +0,0 @@
1
- #import <RCTAppDelegate.h>
2
- #import <UIKit/UIKit.h>
3
- #import <Expo/Expo.h>
4
-
5
- @interface AppDelegate : EXAppDelegateWrapper
6
-
7
- @end
@@ -1,62 +0,0 @@
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
@@ -1,10 +0,0 @@
1
- #import <UIKit/UIKit.h>
2
-
3
- #import "AppDelegate.h"
4
-
5
- int main(int argc, char * argv[]) {
6
- @autoreleasepool {
7
- return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8
- }
9
- }
10
-