expo-template-bare-minimum 45.0.1 → 45.0.2

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.
@@ -103,7 +103,7 @@ def enableSeparateBuildPerCPUArchitecture = false
103
103
  /**
104
104
  * Run Proguard to shrink the Java bytecode in release builds.
105
105
  */
106
- def enableProguardInReleaseBuilds = false
106
+ def enableProguardInReleaseBuilds = (findProperty('android.enableProguardInReleaseBuilds') ?: false).toBoolean()
107
107
 
108
108
  /**
109
109
  * The preferred build flavor of JavaScriptCore.
@@ -7,4 +7,8 @@
7
7
  # For more details, see
8
8
  # http://developer.android.com/guide/developing/tools/proguard.html
9
9
 
10
+ # react-native-reanimated
11
+ -keep class com.swmansion.reanimated.** { *; }
12
+ -keep class com.facebook.react.turbomodule.** { *; }
13
+
10
14
  # Add any project specific keep options here:
@@ -4,10 +4,13 @@ import org.apache.tools.ant.taskdefs.condition.Os
4
4
 
5
5
  buildscript {
6
6
  ext {
7
- buildToolsVersion = "31.0.0"
7
+ buildToolsVersion = findProperty('android.buildToolsVersion') ?: "31.0.0"
8
8
  minSdkVersion = 21
9
- compileSdkVersion = 31
10
- targetSdkVersion = 31
9
+ compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: "31")
10
+ targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: "31")
11
+ if (hasProperty('android.kotlinVersion')) {
12
+ kotlinVersion = findProperty('android.kotlinVersion')
13
+ }
11
14
 
12
15
  if (System.properties['os.arch'] == "aarch64") {
13
16
  // For M1 Users we need to use the NDK 24 which added support for aarch64
package/ios/Podfile CHANGED
@@ -2,17 +2,19 @@ require File.join(File.dirname(`node --print "require.resolve('expo/package.json
2
2
  require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")
3
3
  require File.join(File.dirname(`node --print "require.resolve('@react-native-community/cli-platform-ios/package.json')"`), "native_modules")
4
4
 
5
- platform :ios, '12.0'
6
- install! 'cocoapods',
7
- :deterministic_uuids => false
8
-
9
5
  require 'json'
10
6
  podfile_properties = JSON.parse(File.read('./Podfile.properties.json')) rescue {}
11
7
 
8
+ platform :ios, podfile_properties['ios.deploymentTarget'] || '12.0'
9
+ install! 'cocoapods',
10
+ :deterministic_uuids => false
11
+
12
12
  target 'HelloWorld' do
13
13
  use_expo_modules!
14
14
  config = use_native_modules!
15
15
 
16
+ use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
17
+
16
18
  # Flags change depending on the env values.
17
19
  flags = get_default_flags()
18
20
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
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
- "version": "45.0.1",
4
+ "version": "45.0.2",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "start": "expo start --dev-client",
@@ -10,13 +10,13 @@
10
10
  "web": "expo start --web"
11
11
  },
12
12
  "dependencies": {
13
- "expo": "~45.0.0-beta.4",
14
- "expo-splash-screen": "~0.15.0",
13
+ "expo": "~45.0.0",
14
+ "expo-splash-screen": "~0.15.1",
15
15
  "expo-status-bar": "~1.3.0",
16
16
  "react": "17.0.2",
17
17
  "react-dom": "17.0.2",
18
18
  "react-native": "0.68.1",
19
- "react-native-web": "0.17.1"
19
+ "react-native-web": "0.17.7"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@babel/core": "^7.12.9"