-
Notifications
You must be signed in to change notification settings - Fork 0
/
README_FIRST.txt
103 lines (52 loc) · 2.05 KB
/
README_FIRST.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Common issue with compiling the app
FOR ANDROID
1. after compile if the app stays on splash screen and the api is working
when you test on admin panel and your site has SSL
or yous api link starts with https://
do the following
open the file package.json remove the following
"cordova-plugin-ionic-webview": "5.0.0",
and
"cordova-plugin-ionic-webview": {},
this plugin is mainly use for iOS to use wkwebview instead of uiwebview
so make sure when compiling the app in iOS this plugin exists in your package.json
================================================================================================
FOR IOS / APPLE
common rejection in apple are
ITMS-90809: UIWebView API Deprecation
when compiling the app to iOS do the following
1.
in package.json
remove the following plugin
"cordova-plugin-dialogs": "git+https://github.com/dpa99c/cordova-plugin-dialogs.git",
"cordova-plugin-enable-multidex": "^0.2.0",
and
"cordova-plugin-dialogs": {},
"cordova-plugin-enable-multidex": {},
make sure that the plugin cordova-plugin-ionic-webview is in your package.json
this line
"cordova-plugin-ionic-webview": "5.0.0",
and
"cordova-plugin-ionic-webview": {},
2. in config.xml
make sure that this line is added
<preference name="WKWebViewOnly" value="true"/>
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine"/>
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine"/>
3. lastly make sure you choose IOS 5.1.1 and Xcode 11.3
under monaca build environment before compiling the app in iOS
this is needed cause apple will look for the app build
in there latest sdk
see screenshot
https://imgur.com/a/VJAmA2B
================================================================================================
IOS PUSH NOT WORKING
in your package.json
replace this
"cordova-plugin-firebasex": "9.1.1-cli"
with
"cordova-plugin-firebasex": "10.1.2-cli"
and you need to upload apns auth key instead of pem file
https://developer.clevertap.com/docs/how-to-create-an-ios-apns-auth-key