iOS & Webview Errors

Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #55334

    Vick
    Participant

    Hi. I am stuck with this error for the past two days, I downloaded @types folder from one of the previous posts and when I replace that folder the ionic serve works absolutely fine. But when I build the iOS or run ionic serve again, then I get same issue once again. Every time I replace the @types folder it works and next time it gives error. So the files change on the next build. When I build the iOS app, it builds perfectly without any errors. I can install and open it on my iPhone X. It loads Launchscreen and the three bouncing balls, but then it loads blank screen. I need urgent help to get rid of this issue please.

    Error
    Close
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/events.d.ts
    function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
    const captureRejectionSymbol: unique symbol;
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/events.d.ts
    */
    const errorMonitor: unique symbol;
    /**
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_SLOPPY: unique symbol;
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_STRICT: unique symbol;
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/util.d.ts
    let replDefaults: InspectOptions;
    const custom: unique symbol;
    }
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/util.d.ts
    namespace promisify {
    const custom: unique symbol;
    }
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/worker_threads.d.ts
    const parentPort: null | MessagePort;
    const SHARE_ENV: unique symbol;
    const threadId: number;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/events.d.ts
    function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
    const captureRejectionSymbol: unique symbol;
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/events.d.ts
    function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
    const captureRejectionSymbol: unique symbol;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/events.d.ts
    */
    const errorMonitor: unique symbol;
    /**
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/events.d.ts
    */
    const errorMonitor: unique symbol;
    /**
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_SLOPPY: unique symbol;
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_SLOPPY: unique symbol;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_STRICT: unique symbol;
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_STRICT: unique symbol;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/util.d.ts
    let replDefaults: InspectOptions;
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘isSymbol’?
    node_modules/@types/node/util.d.ts
    let replDefaults: InspectOptions;
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/util.d.ts
    namespace promisify {
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘symbol’.
    node_modules/@types/node/util.d.ts
    namespace promisify {
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/worker_threads.d.ts
    const parentPort: null | MessagePort;
    const SHARE_ENV: unique symbol;
    const threadId: number;
    Typescript Error
    Cannot find name ‘symbol’.
    node_modules/@types/node/worker_threads.d.ts
    const parentPort: null | MessagePort;
    const SHARE_ENV: unique symbol;
    const threadId: number;
    Ionic Framework: 3.9.5
    Ionic App Scripts: 3.2.4
    Angular Core: 5.2.11
    Angular Compiler CLI: 5.2.11
    Node: 10.15.3
    OS Platform: macOS High Sierra
    Navigator Platform: MacIntel
    User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

    Please note that I am using another Macbook with Catalena and Xcode 11.5 to build my ios app.

    #55336

    WPLMS
    Keymaster

    New version of the types folder for latest ionic. I am using all latest modules.

    link : https://wplms.io/wp-content/uploads/2020/06/@types.zip
    >> ionic info

    Ionic:

    Ionic CLI : 6.9.2 (/usr/local/lib/node_modules/@ionic/cli)
    Ionic Framework : ionic-angular 3.9.2
    @ionic/app-scripts : 3.1.10

    Cordova:

    Cordova CLI : 9.0.0 ([email protected])
    Cordova Platforms : Creaccion_ios 5.1.1, ios 5.1.1
    Cordova Plugins : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 1.1.1, (and 15 other plugins)

    Utility:

    cordova-res : not installed
    native-run (update available: 1.0.0) : 0.2.8

    System:

    Android SDK Tools : 26.1.1 (/Users/ripulkumar/Library/Android/sdk)
    ios-deploy : 1.10.0
    ios-sim : 8.0.2
    NodeJS : v10.15.0 (/usr/local/bin/node)
    npm : 6.10.3
    OS : macOS Catalina
    Xcode : Xcode 11.4 Build version 11E146

    ───────────────────────────────────────────────

    Ionic CLI update available: 6.9.2 → 6.9.3
    Run npm i -g @ionic/cli to update

    ───────────────────────────────────────────────

    #55462

    Vick
    Participant

    Hi. I am trying to post a reply to this since yesterday and have tried over 20 times. It says message is posted but I dont see the message. I am really tired of this issue. Since I couldnt get any help, I deleted the entire wordpress and installed everything all over again from scratches hoping that it would resolve this issue. But it is still there. I noticed that when I use your default api and key in config.ts file then I dont get this error. I get this only when I use my site api and key. I need urgent help to get rid of this error. I am able to build iOS App but it shows blank page and no course due to this error. I NEED URGENT HELP.

    Please see error here https://prnt.sc/ssvfzw

    #55539

    Vick
    Participant

    I am able to get rid of all the json errors even though I didn’t get ANY help from you since last 24 hours.

    Everything is working just perfect in the webview. I can see all the courses, login and start course.

    When I build the iOS app, it builds perfectly. I am able to open the app and see all the side menus. But it doesn’t show any content. No courses or anything. I can’t even login.

    Please tell me what is wrong here. Why the webview is working perfectly but iOS app is not.

    I haven’t started building android app yet.

    #55555

    WPLMS
    Keymaster

    Share your site link with me. I will generate app and sahre xcode project.

    #55556

    WPLMS
    Keymaster

    The unexpected end of json input is an error which is from API call and easily correctlable. Share site link and config.ts variables with me.

    #55557

    Vick
    Participant
    This reply has been marked as private.
    #55562

    Vick
    Participant
    This reply has been marked as private.
    #55729

    WPLMS
    Keymaster

    checking.

    #55751

    WPLMS
    Keymaster

    Any icon or splash screen image >

    #55752

    Vick
    Participant

    I will put them later directly in xCode. No worries

    #55753

    WPLMS
    Keymaster

    it is ready : https://prnt.sc/sug2o6

    #55754

    Vick
    Participant

    thanks. another issue is that i am unable to login to android app due to some Croc error. Can you help with that. I have .htaccess on web and also whitelist plugin. Still Croc error.

    #55755

    Vick
    Participant
    This reply has been marked as private.
    #55756

    WPLMS
    Keymaster

    working and tested on iphone Xs.

    #55760

    Vick
    Participant
    This reply has been marked as private.
    #55765

    Vick
    Participant
    This reply has been marked as private.
    #55793

    Vick
    Participant

    Can you please confirm to me the version of SQLite Plugin that you are using. Because it gives an error for version 2.0.4 and then I have to uninstall and install the latest version. And then the app builds and opens. I can view all pages but no content from the site due to SQLite version I guess. Please confirm the plugin version for SQLite for iOS.

    #55929

    WPLMS
    Keymaster

    It seems akismet marked my previous response as spam which had the link to download the xcode project.
    Here’s the link :

    p.s : Do note that ionic setup and all the issues arising in ionic setup are not covered in support for the item,

    #55938

    WPLMS
    Keymaster
    This reply has been marked as private.
    #55939

    WPLMS
    Keymaster

    CORS error is a browser restriction, not at all related to code. All these questions you’ll find answers in Ionic forum or stackoverflow.

    #57231

    Vick
    Participant
    This reply has been marked as private.
    #57332

    WPLMS
    Keymaster

    1. Go to WP admin – LMS – Courses and click on “Star” icon on few courses. When user enroll in courses, they would appear under the popuplar course category.
    2. This gets solved by 1.
    3.what happens when you open the course ?
    4. Totally blank page means you need to add the code in .htaccess of your site as authorisation header is stripped by your server.

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    If above line does not work please change the above line to :

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1

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