Browse Source

trucs pour build

master
DemiSel 3 years ago
parent
commit
1e48f52ee8
3 changed files with 28 additions and 20 deletions
  1. 10
    13
      android/app/src/main/AndroidManifest.xml
  2. 3
    0
      app.json
  3. 15
    7
      ios/budgetizr/Supporting/Expo.plist

+ 10
- 13
android/app/src/main/AndroidManifest.xml View File

1
 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.budgetizr">
1
 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.budgetizr">
2
-
3
   <uses-permission android:name="android.permission.INTERNET"/>
2
   <uses-permission android:name="android.permission.INTERNET"/>
4
-  <!-- OPTIONAL PERMISSIONS, REMOVE WHATEVER YOU DO NOT NEED -->
5
   <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
3
   <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
6
   <uses-permission android:name="android.permission.VIBRATE"/>
4
   <uses-permission android:name="android.permission.VIBRATE"/>
7
-  <!-- These require runtime permissions on M -->
8
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
5
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
9
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
6
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
10
-  <!-- END OPTIONAL PERMISSIONS -->
11
-
12
   <queries>
7
   <queries>
13
-    <!-- Support checking for http(s) links via the Linking API -->
14
     <intent>
8
     <intent>
15
-      <action android:name="android.intent.action.VIEW" />
16
-      <category android:name="android.intent.category.BROWSABLE" />
17
-      <data android:scheme="https" />
9
+      <action android:name="android.intent.action.VIEW"/>
10
+      <category android:name="android.intent.category.BROWSABLE"/>
11
+      <data android:scheme="https"/>
18
     </intent>
12
     </intent>
19
   </queries>
13
   </queries>
20
-
21
   <application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:usesCleartextTraffic="true">
14
   <application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:usesCleartextTraffic="true">
22
-    <meta-data android:name="expo.modules.updates.EXPO_UPDATE_URL" android:value="YOUR-APP-URL-HERE"/>
23
-    <meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="YOUR-APP-SDK-VERSION-HERE"/>
15
+    <meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="43.0.0"/>
16
+    <meta-data android:name="expo.modules.updates.ENABLED" android:value="true"/>
17
+    <meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
18
+    <meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
19
+    <meta-data android:name="expo.modules.updates.EXPO_UPDATE_URL" android:value="https://exp.host/@demibsel/budgetizr"/>
20
+    <meta-data android:name="expo.modules.updates.EXPO_RELEASE_CHANNEL" android:value="default"/>
24
     <activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen">
21
     <activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen">
25
       <intent-filter>
22
       <intent-filter>
26
         <action android:name="android.intent.action.MAIN"/>
23
         <action android:name="android.intent.action.MAIN"/>
29
     </activity>
26
     </activity>
30
     <activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
27
     <activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
31
   </application>
28
   </application>
32
-</manifest>
29
+</manifest>

+ 3
- 0
app.json View File

8
     ],
8
     ],
9
     "android": {
9
     "android": {
10
       "package": "com.eseb.budgetizr"
10
       "package": "com.eseb.budgetizr"
11
+    },
12
+    "ios": {
13
+      "bundleIdentifier": "com.eseb.budgetizr"
11
     }
14
     }
12
   },
15
   },
13
   "name": "budgetizr"
16
   "name": "budgetizr"

+ 15
- 7
ios/budgetizr/Supporting/Expo.plist View File

1
 <?xml version="1.0" encoding="UTF-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">
2
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
 <plist version="1.0">
3
 <plist version="1.0">
4
-<dict>
5
-        <key>EXUpdatesSDKVersion</key>
6
-        <string>YOUR-APP-SDK-VERSION-HERE</string>
7
-        <key>EXUpdatesURL</key>
8
-        <string>YOUR-APP-URL-HERE</string>
9
-</dict>
10
-</plist>
4
+  <dict>
5
+    <key>EXUpdatesSDKVersion</key>
6
+    <string>43.0.0</string>
7
+    <key>EXUpdatesEnabled</key>
8
+    <true/>
9
+    <key>EXUpdatesCheckOnLaunch</key>
10
+    <string>ALWAYS</string>
11
+    <key>EXUpdatesLaunchWaitMs</key>
12
+    <integer>0</integer>
13
+    <key>EXUpdatesURL</key>
14
+    <string>https://exp.host/@demibsel/budgetizr</string>
15
+    <key>EXUpdatesReleaseChannel</key>
16
+    <string>default</string>
17
+  </dict>
18
+</plist>

Loading…
Cancel
Save