App install documentation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20215

    fahri arif
    Participant

    Please help make any documentation on ionic 4, because i spend 8 hours to follow instruction on getting started with wplms mobile app and stuck error on installing necessary packages..

    #20248

    Alex
    Keymaster

    Well the wplms app was built using Ionic 3 .

    you have to install ionic version 3 if you want to make it work .

    #20385

    fahri arif
    Participant

    Already make an app, and come this error massage..

    “Application Error – The connection to the server was unsuccessful. (file:///android_asset/www/index.html)”

    after i add this line on config.xml :

    “<preference name=”loadUrlTimeoutValue” value=”700000″ />”

    it works, but now i have my app loading without stop.. what can i do

    https://ibb.co/mcsZJGt

    #20449

    Scott Lang
    Keymaster

    Hi,

    To setup theme :

    https://www.youtube.com/watch?v=ygsyaLFZnhs 

    to setup app please pursue these two courses :

    first : https://wplms.io/course/how-to-install-ionic/

    second : https://wplms.io/course/getting-started-with-wplms-mobile-app/

    Only after following above, still you face errors then please follow :

    Rename the node_modules folder in your ionic project from node_modules  to ” [email protected]@@@  ” and then :

    In your ionic project folder replace the package.json file with the one given in below link

     https://bit.ly/2I2F732

    and in command prompt or terminal run this command :

    npm install

    after that please follow :

    First remove the android platform :

    cordova platform rm android

    Please also make sure you have installed  these plugins in your ionic setup :

    cordova-plugin-camera 2.4.1 “Camera”

    cordova-plugin-compat 1.2.0 “Compat”

    cordova-plugin-console 1.0.5 “Console”

    cordova-plugin-device 1.1.7 “Device”

    cordova-plugin-facebook4 1.7.4 “Facebook Connect”

    cordova-plugin-file 4.3.3 “File”

    cordova-plugin-file-transfer 1.6.3 “File Transfer”

    cordova-plugin-googleplus 5.3.2 “Google SignIn”

    cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

    cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

    cordova-plugin-splashscreen 4.1.0 “Splashscreen”

    cordova-plugin-statusbar 2.4.2 “StatusBar”

    cordova-plugin-whitelist 1.3.3 “Whitelist”

    cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

    ionic-plugin-keyboard 2.2.1 “Keyboard”

    Please check for the corodova plugins .

    Install the cordova plugins with their versions mentioned above .

    first remove plugin :

    cordova plugin rm {cordova plugin name}

    the add

    cordova plugin add {cordova plugin name}@{version} 

     example :

    cordova plugin add [email protected]

    then re -add platform :

    cordova platform add [email protected]

    Follow these instruction carefully..

    #20450

    Scott Lang
    Keymaster

    If you are on MAC : 

    IONIC INFO :

    cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.1

    ionic (Ionic CLI) : 3.19.1

    global packages:

    cordova (Cordova CLI) : 8.0.0

    local packages:

    @ionic/app-scripts : 3.1.8

    Cordova Platforms  : ios 4.5.4

    Ionic Framework    : ionic-angular 3.9.2

    System:

    ios-deploy : 1.9.2

    Node       : v6.11.4

    npm        : 3.10.10

    OS         : macOS High Sierra

    Xcode      : Xcode 9.0 Build version 9A235

    refer : https://stackoverflow.com/a/30317533

    Environment Variables:

    ANDROID_HOME : not set

    Misc:

    backend : pro

    Cordova plugins and their versions :

    cordova-plugin-camera 4.0.2 “Camera”

    cordova-plugin-console 1.1.0 “Console”

    cordova-plugin-device 2.0.1 “Device”

    cordova-plugin-facebook4 2.0.1 “Facebook Connect”

    cordova-plugin-file 6.0.1 “File”

    cordova-plugin-file-transfer 1.7.1 “File Transfer”

    cordova-plugin-googleplus 5.3.0 “Google SignIn”

    cordova-plugin-inappbrowser 2.0.2 “InAppBrowser”

    cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

    cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard”

    cordova-plugin-ionic-webview 1.1.16 “cordova-plugin-ionic-webview”

    cordova-plugin-splashscreen 5.0.2 “Splashscreen”

    cordova-plugin-statusbar 2.4.2 “StatusBar”

    cordova-plugin-whitelist 1.3.3 “Whitelist”

    cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

    ionic-plugin-keyboard 2.2.1 “Keyboard”.

    config.xml file and package.json files : https://bit.ly/2ABXQ34

    You can take backup of your ionic setup rename the package.json file and node_modules folder .

    then you have to add the given config.json file to your project and open terminal and run :

    npm install

    After that please check for the corodova plugins .

    Install the cordova plugins with their versions mentioned above .

    example :

    cordova plugin add {cordova plugin name}@{version}

    cordova plugin add [email protected]

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.