Absolute lifesaver! Didn't find any good explanation of the permissions system in the cordova docs, this tutorial is just to the point and answers all my questions. Thank you sir.
@YuubiZ5 жыл бұрын
You are amazing. You fixed not only my location requests, but my event handler issue too! My project still has hope yet!
@limitedlifetime84435 жыл бұрын
Very simply and beautifully explained everything regarding the android permissions with cordova. Thank you sir.
@mrcreeperman14723 жыл бұрын
Finally a tutorial noob friendly Thank you so much you saved my day
@jame_sta5 жыл бұрын
The only video on KZbin explaining this, thank you so much!!!!!!!
@kishankumarvasoya75425 жыл бұрын
you made my day sir, after lots of efforts, i found you. Thank you sir.
@DragonByte792 жыл бұрын
I don't get it to work with . It doesn't show up any prompt for the user. Is it not working with uses-feature? I need that part because some customers don't have a camera. So I have to use the uses-feature. The device must be ready because I trigger that after pressing a button.
@omargian_stw13052 жыл бұрын
Thanks for the tutorial, very clear. There is any permission to access an external json data, I'm trying to use fetch method to get data from json url. Any idea of how to make this work?
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
The standard internet permission should be all that is required. If you have a Content-Security-Policy meta tag, that is the most likely cause of restrictions.
@omargian_stw13052 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thanks, that's was the, problem, now the fetch request is working, but there is something that is not working as I expect, I have the fetch request method inside a function and set the setInterval method every 10 seconds and that works fine while the app is open, but the problem is when I want to execute that function in background mode, I mean, when I exit the app, the scripts or at least setInterval stop running. Any idea how I could solve this?
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
@@omargian_stw1305 when you leave the browser in mobile all scripts are shut down.
@andreimozn2k2 жыл бұрын
If user deny twice the permission then the app will not ask 3rd time or next time app is reopened for permissions. How can we handle this case?
@sankhasubhrabhattacharjee30175 жыл бұрын
You are really a beautiful creation of God. Thank you so much.
@asimnehal39535 жыл бұрын
thanks for the video. How to get the installed files from the android device. I didn't find my app files in android/data/ folder..... please need help
@dongdongzheng3 жыл бұрын
Hi Steve, do you have any tutorial of how to implement admob/facebook audience network on cordova project? It seems that most cordova admob plugins on github secrectly/publicly take developers' revenue. Not sure how do you manage?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Nope. No tutorials on admob.
@iminshot2 жыл бұрын
Hey, Steve, thank you so much for this video, in my app i've included many a href tags however none of them are working/redirecting me to a browser, how can i fix that?
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
By default links are intended to open inside the webview that holds the app. It has changed in the last few years and it has been a while since I did anything with Cordova but this should help - cordova.apache.org/docs/en/11.x/guide/appdev/allowlist/index.html#intent-allow-list
@iminshot2 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thank you so much this worked
@valentineemmanuel63374 жыл бұрын
am so grateful... Cordova don chop my eyes
@mestrejedi5 жыл бұрын
Thank you for your help.
@validchk49915 жыл бұрын
Hey Steve, cant see if you have posted any material here
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
In the description I always post the links to my source code.
@HimanshuKumar-gs3li4 жыл бұрын
How to give auto permission to my apk in android. Please reply
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
What permission do you want to set? Each permission has to be individually set. There is no way to automatically give all permissions. Different plugins need different permissions. You will have to figure out each required one and set it.
@rlopez66364 жыл бұрын
Hi thank you for the tutorial. .how about zip/unziping a folder
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
Please add this to the comments on my Tutorial Request Video - kzbin.info/www/bejne/gnTIq5SuZ9qBacU
@rajendramehta79595 жыл бұрын
i tried this today and only geo location is working. nothing else. is it due to change in android permission policy? I have used your files
@jvishrani5 жыл бұрын
Hi. We again tried today. Everything is working except Camera. For Camera, we are getting only Microphone permission. Thanks for your help.
@Owenimus5 жыл бұрын
How to create a simple file using the file plugin? I cant seem to get it to work.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
I will be making a video on the file plugin this summer
@Owenimus5 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 love your tutorials btw!
@mlcddmax5225 жыл бұрын
Hello there, nice video! When i'm trying to reproduce what you explain in the video, my app doesnt recognize "cordova.plugins.permissions".. do you know why?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
You can try removing and re-adding the Android platform in the project. Make sure you are waiting for the deviceready event.
@sanjaymahabir13865 жыл бұрын
Really Helped me thanks alot !!!!!!!!!!!!!!!!1
@ndsnds8615 жыл бұрын
The application does not show the dialogue. Can you give a full source for comparison?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
I always put the code gist links in the description.
@sumitmahajan57304 жыл бұрын
how to add cdn JavaScript file in Cordova and how to open in cordova
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
You can add any JS file the same way you would in any other webpage. Same with s but there are extra permissions that you need if it is a different domain.
@sumitmahajan57304 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 can your please give any reference link what extra permission i need to add
@sumitmahajan57304 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 i m using cdn js file then is give me error to load external js file.
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
@@sumitmahajan5730 did you update your content security policy? The error message should tell you the reason
@sumitmahajan57304 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 i haven't added contest security policy meta tag
@itkhmer15445 жыл бұрын
why use android platform 8 can't use internet or wifi on real device ?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
It can, as long as it has permissions.
@jasurjakhongirov3 жыл бұрын
How do we install and be able to use cordova apps in mobile phones? ))
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
You can launch an app on a device the same way you do on an emulator like I show in the Cordova playlist. If you are asking about deploying to the app stores, I don't have videos on that process.
@jasurjakhongirov3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thank You Professor. I have two more questions. 1. Is Cordova in-demand tool in development industry? 2. Have You plans to continue your Cordova lessons?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
i have a short video on using ios-sim coming out next week. Don't have any other current plans for more Cordova videos. I have lots of other topics that I need to cover first. Cordova is still used quite a bit in industry. The big other competitors, for non-native development, are React Native and Flutter.
@gauravpandita81344 жыл бұрын
Hello sir can u pls explain it again and evry step pls and show this project on live server pls
@martinarlando60534 жыл бұрын
thank you sir
@guliyevravan3 жыл бұрын
cordova.plugins is undefined(((( Thanks for all cordova videos :)
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Are you trying to access it before the deviceready event?
@guliyevravan3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 no. After deviceready :) I'll try it tomorrow. Thank you for replying to my comment despite the years gone by from the video I know. My english very bad :) Thanks for all.
@guliyevravan3 жыл бұрын
Not working((( cordova.plugins is not defined
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
@@guliyevravan Try uninstalling and reinstalling the platforms and plugins. Then rebuild and test