-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Angular demo gives error "Error: TypeError: Cannot read property 'CustomTabsIntent' of undefined" #141
Comments
I don't receive this error "Error: TypeError: Cannot read property 'CustomTabsIntent' of undefined" if I downgrade to version 3.0.1. Using nativescript vue. |
Same error, on 3.0.1 and 3.0.2..
package.json
|
Getting the same error on version Thanks. |
Getting the same error in Android on version 3.0.1 and 3.0.2 package.json "dependencies": { Thanks. |
@alexziskind1, any idea ? |
Fixed it by adding:
in App_Resources/Android/app.gradle This is what https://github.com/bradmartin/nativescript-advanced-webview/blob/master/src/platforms/android/include.gradle is using. |
Thanks for that @BBazard . This currently works when added to the app, and I've been trying to add this setting to the plugin's include.gradle, but it doesn't end up in the build for some reason. My Android build system knowledge is limited so hopefully someone here can explain why this is happening. |
This has been fixed in 3.0.3 |
Do a final test and start clean : Now at step 5 I get this error : As far as I can see all main-entries are in place and I have no clue why this error occurs. @alexziskind1 do you have any thoughts on this? |
The Angular demo hasn't really been tweaked to latest speck. Only the core |
@alexziskind1 This error is still present in version @JohanBeumer's comment is valid. This plugin on android spits out the following error:
Is there any workaround to this? Any insight would be very helpful! To reproduce the bug, create a fresh Nativescript project, then load the |
Reopening issue since folks seem to still be having it. Will review PRs that fix this. Thanks all. |
I am trying to run de demo-angular app on Android but is doesn't work.
I follow the following steps described in Contributing quick steps :
https://github.com/alexziskind1/nativescript-oauth2.git
/src
foldernpm run build
run npm run plugin.tscwatch
npm run demo.android-angular
The app starts, however during the webpack compilation this error is shown :
After clicking the
Login
button on the startpage of the app, the following error (and 3 console.log messages from oauth.ts) is shown in the console :Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
The error concerning the browser preoperty is not shown anymore when I change then code to :
However this doesn't really solve the problem, because when I click the login button it still shows the error :
Is there something wrong with my configuration or is it something in the repository?
The text was updated successfully, but these errors were encountered: