You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, tell us how to recreate the issue in as much detail as possible.
I am very new to nativescript and I am using nativescript vue and try to configure ouath2 in a way that the login works via an out-of-app browser.
According to the documentation, the following two steps should achieve the out-of-app browser bevavior for Android: In the AndroidManifest.xml,
"Find the section named com.tns.NativeScriptActivity and add the attribute android:launchMode='singleTask' "
"inside the activity add a new section with your custom url scheme(s)."
In order to keep it simple, I tried to figure it out with the vue-demo and I did copy&paste with the instructions, so the activity section in my AndroidManifest looks as follows:
Even after the modifications to the AndroidManifest.xml, the login page is shown via an in-app web view, and not via an out-of-app browser. Does anybody know how to fix this?
The text was updated successfully, but these errors were encountered:
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
CLI: 6.3.3
Cross-platform modules: 6.5.21
Runtime(s):
"nativescript": {
"id": "org.nativescript.DemoAuthTest",
"tns-android": {
"version": "6.5.0"
},
"tns-ios": {
"version": "6.5.0"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"repository": "",
"dependencies": {
"@nativescript/theme": "~2.3.0",
"nativescript-oauth2": "^3.0.1",
"nativescript-vue": "~2.4.0",
"tns-core-modules": "~6.5.0"
},
"devDependencies": {
"@babel/core": "~7.1.0",
"@babel/preset-env": "~7.1.0",
"babel-loader": "~8.0.0",
"nativescript-dev-webpack": "~1.5.0",
"nativescript-vue-template-compiler": "~2.4.0",
"node-sass": "^4.7.1",
"vue-loader": "~15.4.0"
},
Please, tell us how to recreate the issue in as much detail as possible.
I am very new to nativescript and I am using nativescript vue and try to configure ouath2 in a way that the login works via an out-of-app browser.
According to the documentation, the following two steps should achieve the out-of-app browser bevavior for Android: In the AndroidManifest.xml,
"Find the section named com.tns.NativeScriptActivity and add the attribute android:launchMode='singleTask' "
"inside the activity add a new section with your custom url scheme(s)."
In order to keep it simple, I tried to figure it out with the vue-demo and I did copy&paste with the instructions, so the activity section in my AndroidManifest looks as follows:
Even after the modifications to the AndroidManifest.xml, the login page is shown via an in-app web view, and not via an out-of-app browser. Does anybody know how to fix this?
The text was updated successfully, but these errors were encountered: