nx-react-native-cli 2.7.0 → 2.7.1
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/lib/index.cjs +43 -43
- package/package.json +1 -1
- package/templates/19.7.0/apps/mobile/android/app/src/main/java/com/appsmobile/MainActivity.kt +5 -1
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/AppDelegate.mm +6 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@2x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@2x~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@3x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-20~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-29.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@2x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@2x~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@3x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-29~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@2x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@2x~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@3x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-40~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-60@2x~car.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-60@3x~car.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon-83.5@2x~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon@2x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon@2x~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon@3x.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon~ios-marketing.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/AppIcon~ipad.png +0 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/Contents.json +134 -0
- package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/Contents.json +6 -0
- package/templates/21.2.2/apps/mobile/android/app/src/main/java/com/mobile/MainActivity.kt +5 -1
- package/templates/21.2.2/apps/mobile/ios/Mobile/AppDelegate.mm +6 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@2x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@2x~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@3x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-20~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@2x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@2x~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@3x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@2x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@2x~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@3x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-40~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-60@2x~car.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-60@3x~car.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-83.5@2x~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon@2x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon@2x~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon@3x.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon~ios-marketing.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon~ipad.png +0 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/Contents.json +134 -0
- package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/Contents.json +6 -0
- package/templates/shared/apps/mobile/android/app/src/main/AndroidManifest.xml +28 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +6 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png +0 -0
- package/templates/shared/apps/mobile/android/app/src/main/res/styles.xml +14 -0
- package/templates/shared/apps/mobile/run-android.sh +2 -1
- package/templates/shared/apps/mobile/scripts/setup-ios-dev-scheme.rb +101 -1
- package/templates/shared/apps/mobile/src/app/index.tsx +3 -39
- package/templates/shared/apps/mobile/src/app/query-client.ts +40 -0
- package/templates/shared/apps/mobile/src/assets/images/logo.png +0 -0
- package/templates/shared/apps/mobile/src/components/atoms/KeyboardAwareScrollView/keyboard-aware-scroll-view.component.tsx +1 -0
- package/templates/shared/apps/mobile/src/components/molecules/ScreenContainer/screen-container.component.tsx +2 -2
- package/templates/shared/apps/mobile/src/routes/index.tsx +7 -1
- package/templates/shared/apps/mobile/src/assets/images/.gitkeep +0 -0
package/package.json
CHANGED
package/templates/19.7.0/apps/mobile/android/app/src/main/java/com/appsmobile/MainActivity.kt
CHANGED
|
@@ -5,6 +5,8 @@ import com.facebook.react.ReactActivityDelegate
|
|
|
5
5
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
|
|
6
6
|
import com.facebook.react.defaults.DefaultReactActivityDelegate
|
|
7
7
|
import android.os.Bundle
|
|
8
|
+
import com.swmansion.rnscreens.fragment.restoration.RNScreensFragmentFactory
|
|
9
|
+
import com.zoontek.rnbootsplash.RNBootSplash
|
|
8
10
|
import android.graphics.Color
|
|
9
11
|
import androidx.core.view.WindowCompat
|
|
10
12
|
import androidx.core.view.WindowInsetsControllerCompat
|
|
@@ -19,7 +21,9 @@ class MainActivity : ReactActivity() {
|
|
|
19
21
|
|
|
20
22
|
//react-native-screens override
|
|
21
23
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
22
|
-
|
|
24
|
+
supportFragmentManager.fragmentFactory = RNScreensFragmentFactory()
|
|
25
|
+
RNBootSplash.init(this, R.style.BootTheme) // ⬅️ initialize the splash screen
|
|
26
|
+
super.onCreate(savedInstanceState)
|
|
23
27
|
|
|
24
28
|
// 1) Let your content draw behind system bars (status + nav)
|
|
25
29
|
WindowCompat.setDecorFitsSystemWindows(window, false)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#import "AppDelegate.h"
|
|
2
|
+
#import "RNBootSplash.h"
|
|
2
3
|
|
|
3
4
|
#import <React/RCTBundleURLProvider.h>
|
|
4
5
|
#import <ReactAppDependencyProvider/RCTAppDependencyProvider.h>
|
|
@@ -50,4 +51,9 @@
|
|
|
50
51
|
return YES;
|
|
51
52
|
}
|
|
52
53
|
|
|
54
|
+
- (void)customizeRootView:(RCTRootView *)rootView {
|
|
55
|
+
[super customizeRootView:rootView];
|
|
56
|
+
[RNBootSplash initWithStoryboard:@"BootSplash" rootView:rootView]; // ⬅️ initialize the splash screen
|
|
57
|
+
}
|
|
58
|
+
|
|
53
59
|
@end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/templates/19.7.0/apps/mobile/ios/AppsMobile/Images.xcassets/AppIcon.appiconset/Contents.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images": [
|
|
3
|
+
{
|
|
4
|
+
"filename": "AppIcon@2x.png",
|
|
5
|
+
"idiom": "iphone",
|
|
6
|
+
"scale": "2x",
|
|
7
|
+
"size": "60x60"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"filename": "AppIcon@3x.png",
|
|
11
|
+
"idiom": "iphone",
|
|
12
|
+
"scale": "3x",
|
|
13
|
+
"size": "60x60"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"filename": "AppIcon~ipad.png",
|
|
17
|
+
"idiom": "ipad",
|
|
18
|
+
"scale": "1x",
|
|
19
|
+
"size": "76x76"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"filename": "AppIcon@2x~ipad.png",
|
|
23
|
+
"idiom": "ipad",
|
|
24
|
+
"scale": "2x",
|
|
25
|
+
"size": "76x76"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"filename": "AppIcon-83.5@2x~ipad.png",
|
|
29
|
+
"idiom": "ipad",
|
|
30
|
+
"scale": "2x",
|
|
31
|
+
"size": "83.5x83.5"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"filename": "AppIcon-40@2x.png",
|
|
35
|
+
"idiom": "iphone",
|
|
36
|
+
"scale": "2x",
|
|
37
|
+
"size": "40x40"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"filename": "AppIcon-40@3x.png",
|
|
41
|
+
"idiom": "iphone",
|
|
42
|
+
"scale": "3x",
|
|
43
|
+
"size": "40x40"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"filename": "AppIcon-40~ipad.png",
|
|
47
|
+
"idiom": "ipad",
|
|
48
|
+
"scale": "1x",
|
|
49
|
+
"size": "40x40"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"filename": "AppIcon-40@2x~ipad.png",
|
|
53
|
+
"idiom": "ipad",
|
|
54
|
+
"scale": "2x",
|
|
55
|
+
"size": "40x40"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"filename": "AppIcon-20@2x.png",
|
|
59
|
+
"idiom": "iphone",
|
|
60
|
+
"scale": "2x",
|
|
61
|
+
"size": "20x20"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"filename": "AppIcon-20@3x.png",
|
|
65
|
+
"idiom": "iphone",
|
|
66
|
+
"scale": "3x",
|
|
67
|
+
"size": "20x20"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"filename": "AppIcon-20~ipad.png",
|
|
71
|
+
"idiom": "ipad",
|
|
72
|
+
"scale": "1x",
|
|
73
|
+
"size": "20x20"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"filename": "AppIcon-20@2x~ipad.png",
|
|
77
|
+
"idiom": "ipad",
|
|
78
|
+
"scale": "2x",
|
|
79
|
+
"size": "20x20"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"filename": "AppIcon-29.png",
|
|
83
|
+
"idiom": "iphone",
|
|
84
|
+
"scale": "1x",
|
|
85
|
+
"size": "29x29"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"filename": "AppIcon-29@2x.png",
|
|
89
|
+
"idiom": "iphone",
|
|
90
|
+
"scale": "2x",
|
|
91
|
+
"size": "29x29"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"filename": "AppIcon-29@3x.png",
|
|
95
|
+
"idiom": "iphone",
|
|
96
|
+
"scale": "3x",
|
|
97
|
+
"size": "29x29"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"filename": "AppIcon-29~ipad.png",
|
|
101
|
+
"idiom": "ipad",
|
|
102
|
+
"scale": "1x",
|
|
103
|
+
"size": "29x29"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"filename": "AppIcon-29@2x~ipad.png",
|
|
107
|
+
"idiom": "ipad",
|
|
108
|
+
"scale": "2x",
|
|
109
|
+
"size": "29x29"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"filename": "AppIcon-60@2x~car.png",
|
|
113
|
+
"idiom": "car",
|
|
114
|
+
"scale": "2x",
|
|
115
|
+
"size": "60x60"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"filename": "AppIcon-60@3x~car.png",
|
|
119
|
+
"idiom": "car",
|
|
120
|
+
"scale": "3x",
|
|
121
|
+
"size": "60x60"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"filename": "AppIcon~ios-marketing.png",
|
|
125
|
+
"idiom": "ios-marketing",
|
|
126
|
+
"scale": "1x",
|
|
127
|
+
"size": "1024x1024"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"info": {
|
|
131
|
+
"author": "iconkitchen",
|
|
132
|
+
"version": 1
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -5,6 +5,8 @@ import com.facebook.react.ReactActivityDelegate
|
|
|
5
5
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
|
|
6
6
|
import com.facebook.react.defaults.DefaultReactActivityDelegate
|
|
7
7
|
import android.os.Bundle
|
|
8
|
+
import com.swmansion.rnscreens.fragment.restoration.RNScreensFragmentFactory
|
|
9
|
+
import com.zoontek.rnbootsplash.RNBootSplash
|
|
8
10
|
import android.graphics.Color
|
|
9
11
|
import androidx.core.view.WindowCompat
|
|
10
12
|
import androidx.core.view.WindowInsetsControllerCompat
|
|
@@ -19,7 +21,9 @@ class MainActivity : ReactActivity() {
|
|
|
19
21
|
|
|
20
22
|
//react-native-screens override
|
|
21
23
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
22
|
-
|
|
24
|
+
supportFragmentManager.fragmentFactory = RNScreensFragmentFactory()
|
|
25
|
+
RNBootSplash.init(this, R.style.BootTheme) // ⬅️ initialize the splash screen
|
|
26
|
+
super.onCreate(savedInstanceState)
|
|
23
27
|
|
|
24
28
|
// 1) Let your content draw behind system bars (status + nav)
|
|
25
29
|
WindowCompat.setDecorFitsSystemWindows(window, false)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#import "AppDelegate.h"
|
|
2
|
+
#import "RNBootSplash.h"
|
|
2
3
|
|
|
3
4
|
#import <React/RCTBundleURLProvider.h>
|
|
4
5
|
#import <ReactAppDependencyProvider/RCTAppDependencyProvider.h>
|
|
@@ -50,4 +51,9 @@
|
|
|
50
51
|
return YES;
|
|
51
52
|
}
|
|
52
53
|
|
|
54
|
+
- (void)customizeRootView:(RCTRootView *)rootView {
|
|
55
|
+
[super customizeRootView:rootView];
|
|
56
|
+
[RNBootSplash initWithStoryboard:@"BootSplash" rootView:rootView]; // ⬅️ initialize the splash screen
|
|
57
|
+
}
|
|
58
|
+
|
|
53
59
|
@end
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@2x.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-20@3x.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29.png
ADDED
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@2x.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-29@3x.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@2x.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon-40@3x.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon@2x.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon@3x.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/AppIcon~ipad.png
ADDED
|
Binary file
|
package/templates/21.2.2/apps/mobile/ios/Mobile/Images.xcassets/AppIcon.appiconset/Contents.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images": [
|
|
3
|
+
{
|
|
4
|
+
"filename": "AppIcon@2x.png",
|
|
5
|
+
"idiom": "iphone",
|
|
6
|
+
"scale": "2x",
|
|
7
|
+
"size": "60x60"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"filename": "AppIcon@3x.png",
|
|
11
|
+
"idiom": "iphone",
|
|
12
|
+
"scale": "3x",
|
|
13
|
+
"size": "60x60"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"filename": "AppIcon~ipad.png",
|
|
17
|
+
"idiom": "ipad",
|
|
18
|
+
"scale": "1x",
|
|
19
|
+
"size": "76x76"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"filename": "AppIcon@2x~ipad.png",
|
|
23
|
+
"idiom": "ipad",
|
|
24
|
+
"scale": "2x",
|
|
25
|
+
"size": "76x76"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"filename": "AppIcon-83.5@2x~ipad.png",
|
|
29
|
+
"idiom": "ipad",
|
|
30
|
+
"scale": "2x",
|
|
31
|
+
"size": "83.5x83.5"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"filename": "AppIcon-40@2x.png",
|
|
35
|
+
"idiom": "iphone",
|
|
36
|
+
"scale": "2x",
|
|
37
|
+
"size": "40x40"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"filename": "AppIcon-40@3x.png",
|
|
41
|
+
"idiom": "iphone",
|
|
42
|
+
"scale": "3x",
|
|
43
|
+
"size": "40x40"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"filename": "AppIcon-40~ipad.png",
|
|
47
|
+
"idiom": "ipad",
|
|
48
|
+
"scale": "1x",
|
|
49
|
+
"size": "40x40"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"filename": "AppIcon-40@2x~ipad.png",
|
|
53
|
+
"idiom": "ipad",
|
|
54
|
+
"scale": "2x",
|
|
55
|
+
"size": "40x40"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"filename": "AppIcon-20@2x.png",
|
|
59
|
+
"idiom": "iphone",
|
|
60
|
+
"scale": "2x",
|
|
61
|
+
"size": "20x20"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"filename": "AppIcon-20@3x.png",
|
|
65
|
+
"idiom": "iphone",
|
|
66
|
+
"scale": "3x",
|
|
67
|
+
"size": "20x20"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"filename": "AppIcon-20~ipad.png",
|
|
71
|
+
"idiom": "ipad",
|
|
72
|
+
"scale": "1x",
|
|
73
|
+
"size": "20x20"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"filename": "AppIcon-20@2x~ipad.png",
|
|
77
|
+
"idiom": "ipad",
|
|
78
|
+
"scale": "2x",
|
|
79
|
+
"size": "20x20"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"filename": "AppIcon-29.png",
|
|
83
|
+
"idiom": "iphone",
|
|
84
|
+
"scale": "1x",
|
|
85
|
+
"size": "29x29"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"filename": "AppIcon-29@2x.png",
|
|
89
|
+
"idiom": "iphone",
|
|
90
|
+
"scale": "2x",
|
|
91
|
+
"size": "29x29"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"filename": "AppIcon-29@3x.png",
|
|
95
|
+
"idiom": "iphone",
|
|
96
|
+
"scale": "3x",
|
|
97
|
+
"size": "29x29"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"filename": "AppIcon-29~ipad.png",
|
|
101
|
+
"idiom": "ipad",
|
|
102
|
+
"scale": "1x",
|
|
103
|
+
"size": "29x29"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"filename": "AppIcon-29@2x~ipad.png",
|
|
107
|
+
"idiom": "ipad",
|
|
108
|
+
"scale": "2x",
|
|
109
|
+
"size": "29x29"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"filename": "AppIcon-60@2x~car.png",
|
|
113
|
+
"idiom": "car",
|
|
114
|
+
"scale": "2x",
|
|
115
|
+
"size": "60x60"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"filename": "AppIcon-60@3x~car.png",
|
|
119
|
+
"idiom": "car",
|
|
120
|
+
"scale": "3x",
|
|
121
|
+
"size": "60x60"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"filename": "AppIcon~ios-marketing.png",
|
|
125
|
+
"idiom": "ios-marketing",
|
|
126
|
+
"scale": "1x",
|
|
127
|
+
"size": "1024x1024"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"info": {
|
|
131
|
+
"author": "iconkitchen",
|
|
132
|
+
"version": 1
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
2
|
+
|
|
3
|
+
<uses-permission android:name="android.permission.INTERNET" />
|
|
4
|
+
|
|
5
|
+
<application
|
|
6
|
+
android:name=".MainApplication"
|
|
7
|
+
android:label="@string/app_name"
|
|
8
|
+
android:icon="@mipmap/ic_launcher"
|
|
9
|
+
android:roundIcon="@mipmap/ic_launcher"
|
|
10
|
+
android:allowBackup="false"
|
|
11
|
+
tools:replace="android:allowBackup"
|
|
12
|
+
android:theme="@style/AppTheme"
|
|
13
|
+
android:supportsRtl="true"
|
|
14
|
+
android:networkSecurityConfig="@xml/network_security_config">
|
|
15
|
+
<activity
|
|
16
|
+
android:name=".MainActivity"
|
|
17
|
+
android:label="@string/app_name"
|
|
18
|
+
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
|
|
19
|
+
android:launchMode="singleTask"
|
|
20
|
+
android:windowSoftInputMode="adjustResize"
|
|
21
|
+
android:exported="true">
|
|
22
|
+
<intent-filter>
|
|
23
|
+
<action android:name="android.intent.action.MAIN" />
|
|
24
|
+
<category android:name="android.intent.category.LAUNCHER" />
|
|
25
|
+
</intent-filter>
|
|
26
|
+
</activity>
|
|
27
|
+
</application>
|
|
28
|
+
</manifest>
|
package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<background android:drawable="@mipmap/ic_launcher_background"/>
|
|
4
|
+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
|
5
|
+
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
|
|
6
|
+
</adaptive-icon>
|
|
Binary file
|
package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
ADDED
|
Binary file
|
package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
ADDED
|
Binary file
|
package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png
ADDED
|
Binary file
|
|
Binary file
|
package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
ADDED
|
Binary file
|
package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
ADDED
|
Binary file
|
package/templates/shared/apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<resources>
|
|
2
|
+
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
|
3
|
+
<!-- Customize your theme here. -->
|
|
4
|
+
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
|
|
5
|
+
<item name="colorAccent">#1185e6</item>
|
|
6
|
+
<item name="colorPrimary">#1185e6</item>
|
|
7
|
+
</style>
|
|
8
|
+
|
|
9
|
+
<style name="BootTheme" parent="Theme.BootSplash">
|
|
10
|
+
<item name="bootSplashBackground">@color/bootsplash_background</item>
|
|
11
|
+
<item name="bootSplashLogo">@drawable/bootsplash_logo</item>
|
|
12
|
+
<item name="postBootSplashTheme">@style/AppTheme</item>
|
|
13
|
+
</style>
|
|
14
|
+
</resources>
|
|
@@ -103,7 +103,8 @@ SELECTED_DEVICE="${DEVICE_IDS[$SELECTED_INDEX]}"
|
|
|
103
103
|
if [ "${DEVICE_TYPES[$SELECTED_INDEX]}" = "avd" ]; then
|
|
104
104
|
echo ""
|
|
105
105
|
echo "Booting AVD: $SELECTED_DEVICE..."
|
|
106
|
-
|
|
106
|
+
# Launch in a new session so it's fully detached from this script
|
|
107
|
+
perl -e 'use POSIX "setsid"; setsid(); exec("emulator", "-avd", $ARGV[0], "-no-snapshot-load")' "$SELECTED_DEVICE" </dev/null &>/dev/null &
|
|
107
108
|
|
|
108
109
|
# Wait for device to come online
|
|
109
110
|
echo "Waiting for device to boot..."
|