expo-template-bare-minimum 48.0.0 → 48.0.3

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.
package/app.json CHANGED
@@ -2,7 +2,6 @@
2
2
  "expo": {
3
3
  "name": "HelloWorld",
4
4
  "slug": "expo-template-bare",
5
- "version": "1.0.0",
6
- "assetBundlePatterns": ["**/*"]
5
+ "version": "1.0.0"
7
6
  }
8
7
  }
package/ios/Podfile CHANGED
@@ -14,15 +14,28 @@ install! 'cocoapods',
14
14
  prepare_react_native_project!
15
15
 
16
16
  # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
17
- # because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
17
+ # because `react-native-flipper` depends on (FlipperKit,...), which will be excluded. To fix this,
18
+ # you can also exclude `react-native-flipper` in `react-native.config.js`
18
19
  #
19
- # To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
20
20
  # ```js
21
21
  # module.exports = {
22
22
  # dependencies: {
23
23
  # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
24
+ # }
25
+ # }
24
26
  # ```
25
- flipper_config = ENV['NO_FLIPPER'] == "1" || ENV['CI'] ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
27
+ flipper_config = FlipperConfiguration.disabled
28
+ if ENV['NO_FLIPPER'] == "1" || ENV['CI'] then
29
+ # Explicitly disabled through environment variables
30
+ flipper_config = FlipperConfiguration.disabled
31
+ elsif podfile_properties.key?('ios.flipper') then
32
+ # Configure Flipper in Podfile.properties.json
33
+ if podfile_properties['ios.flipper'] == 'true' then
34
+ flipper_config = FlipperConfiguration.enabled(["Debug", "Release"])
35
+ elsif ppodfile_properties['ios.flipper'] != 'false' then
36
+ flipper_config = FlipperConfiguration.enabled(["Debug", "Release"], { 'Flipper' => podfile_properties['ios.flipper'] })
37
+ end
38
+ end
26
39
 
27
40
  target 'HelloWorld' do
28
41
  use_expo_modules!
@@ -40,10 +53,8 @@ target 'HelloWorld' do
40
53
  :fabric_enabled => flags[:fabric_enabled],
41
54
  # An absolute path to your application root.
42
55
  :app_path => "#{Pod::Config.instance.installation_root}/..",
43
- #
44
- # Uncomment to opt-in to using Flipper
45
- # Note that if you have use_frameworks! enabled, Flipper will not work
46
- # :flipper_configuration => flipper_config,
56
+ # Note that if you have use_frameworks! enabled, Flipper will not work if enabled
57
+ :flipper_configuration => flipper_config
47
58
  )
48
59
 
49
60
  post_install do |installer|
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": "48.0.0",
4
+ "version": "48.0.3",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "start": "expo start --dev-client",
@@ -10,9 +10,9 @@
10
10
  "web": "expo start --web"
11
11
  },
12
12
  "dependencies": {
13
- "expo": "~48.0.0-beta.0",
14
- "expo-splash-screen": "~0.18.0",
15
- "expo-status-bar": "~1.4.3",
13
+ "expo": "~48.0.0-beta.2",
14
+ "expo-splash-screen": "~0.18.1",
15
+ "expo-status-bar": "~1.4.4",
16
16
  "react": "18.2.0",
17
17
  "react-native": "0.71.2"
18
18
  },