-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi! I was excited to add this plugin to my nativescript app.
When I run it in my laptop simulator "tns run ios" then everything works great.
When I run it on my phone though "tns preview" then I get an error message when calling the "webAuthentication" function:
ReferenceError: Can't find variable: A0SHA256ChallengeGenerator
Which platform(s) does your issue occur on?
- iOS (only deplying to iOS right now)
Please, provide the following version numbers that your issue occurs with:
-
CLI: (run
tns --versionto fetch it) : 6.7.8 -
package.json:
{
"nativescript": {
"id": "enrolled-agent.study-app",
"tns-android": {
"version": "*"
},
"tns-ios": {
"version": "*"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"scripts": {
"start": "tns run ios --env.environment=\"enrolled-agent.dev\" --device=\"E36E2FEF-8EDB-45E7-9A51-E60C6EA3EE74\"",
"pre-prepare": "ts-node ./pre-prepare/pre-prepare-app.ts",
"pre": "echo foo",
"lint": "tslint \"src/**/*.ts\""
},
"dependencies": {
"@angular/animations": "~8.2.0",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/core": "~8.2.0",
"@angular/forms": "~8.2.0",
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"@nativescript/theme": "~2.3.0",
"nativescript-angular": "~8.21.0",
"nativescript-auth0": "^3.0.2",
"nativescript-ui-sidedrawer": "~8.0.0",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.4.0",
"tns-core-modules": "~6.5.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular/compiler-cli": "~8.2.0",
"@nativescript/schematics": "^9.0.0",
"@ngtools/webpack": "~8.2.0",
"codelyzer": "~4.5.0",
"nativescript-angular-cli": "^0.1.9",
"nativescript-dev-webpack": "~1.5.0",
"node-sass": "^4.7.1",
"tslint": "~5.19.0",
"typescript": "~3.5.3"
},
"gitHead": "20a65d338ae8f8911087ab6615b89363f864b07b",
"readme": "NativeScript Application"
}
Please, tell us how to recreate the issue in as much detail as possible.
-
Add this library to a fresh nativescript project
-
run
tns previewand see the app crash with this error when it tries to call "webAuthentication".
Metadata
Metadata
Assignees
Labels
No labels