Skip to content

nativescript-inappbrowser incompatibility with 3.0.0-alpha.7 on iOS #70

Description

@rdlauer

I'm testing out the latest alpha on iOS (haven't tried android yet):

    "@nativescript/mlkit-core": "^3.0.0-alpha.7",
    "@nativescript/mlkit-text-recognition": "^3.0.0-alpha.7"

and unfortunately there seems to be an incompatibility with the popular nativescript-inappbrowser plugin. With all three plugins installed, the "inappbrowser" modal opens and tries to load the source URL, but hangs. This is on a fresh NS app with no other plugins installed.

Activity

  1. timdoege commented on Sep 22, 2025

    @timdoege

    I am not sure if this is still an issue or related to MLKit, but the inapp browser does not work for me in a Simulator, but on a real device, hence I have added this (for auth flows):

            // On iOS, we need to use the system browser since the inapp browser does not work on the simulator
            if (isIOS && environment.devSettings.enabled) {
                this.openExtAuthLinkSystemBrowser();
            }
            else {
                this.openExtAuthLink().then(() => {
                    this.isExtAuthInProgress = false;
                }).catch((err) => {
                    this.isExtAuthInProgress = false;
                    Trace.write('[LoginFormComponent] - ExtAuth inApp browser open link error caught: ' + err, Trace.categories.Error);
                });    
            }
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions