Cordova Android App Permission Management

  Рет қаралды 16,905

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Пікірлер: 60
@JohannesAmbrosch
@JohannesAmbrosch 4 жыл бұрын
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.
@YuubiZ
@YuubiZ 5 жыл бұрын
You are amazing. You fixed not only my location requests, but my event handler issue too! My project still has hope yet!
@limitedlifetime8443
@limitedlifetime8443 5 жыл бұрын
Very simply and beautifully explained everything regarding the android permissions with cordova. Thank you sir.
@mrcreeperman1472
@mrcreeperman1472 3 жыл бұрын
Finally a tutorial noob friendly Thank you so much you saved my day
@jame_sta
@jame_sta 5 жыл бұрын
The only video on KZbin explaining this, thank you so much!!!!!!!
@kishankumarvasoya7542
@kishankumarvasoya7542 5 жыл бұрын
you made my day sir, after lots of efforts, i found you. Thank you sir.
@DragonByte79
@DragonByte79 2 жыл бұрын
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_stw1305
@omargian_stw1305 2 жыл бұрын
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-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
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_stw1305
@omargian_stw1305 2 жыл бұрын
​@@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-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
@@omargian_stw1305 when you leave the browser in mobile all scripts are shut down.
@andreimozn2k
@andreimozn2k 2 жыл бұрын
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?
@sankhasubhrabhattacharjee3017
@sankhasubhrabhattacharjee3017 5 жыл бұрын
You are really a beautiful creation of God. Thank you so much.
@asimnehal3953
@asimnehal3953 5 жыл бұрын
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
@dongdongzheng
@dongdongzheng 3 жыл бұрын
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-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
Nope. No tutorials on admob.
@iminshot
@iminshot 2 жыл бұрын
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-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
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
@iminshot
@iminshot 2 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thank you so much this worked
@valentineemmanuel6337
@valentineemmanuel6337 4 жыл бұрын
am so grateful... Cordova don chop my eyes
@mestrejedi
@mestrejedi 5 жыл бұрын
Thank you for your help.
@validchk4991
@validchk4991 5 жыл бұрын
Hey Steve, cant see if you have posted any material here
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
In the description I always post the links to my source code.
@HimanshuKumar-gs3li
@HimanshuKumar-gs3li 4 жыл бұрын
How to give auto permission to my apk in android. Please reply
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
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.
@rlopez6636
@rlopez6636 4 жыл бұрын
Hi thank you for the tutorial. .how about zip/unziping a folder
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
Please add this to the comments on my Tutorial Request Video - kzbin.info/www/bejne/gnTIq5SuZ9qBacU
@rajendramehta7959
@rajendramehta7959 5 жыл бұрын
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
@jvishrani
@jvishrani 5 жыл бұрын
Hi. We again tried today. Everything is working except Camera. For Camera, we are getting only Microphone permission. Thanks for your help.
@Owenimus
@Owenimus 5 жыл бұрын
How to create a simple file using the file plugin? I cant seem to get it to work.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
I will be making a video on the file plugin this summer
@Owenimus
@Owenimus 5 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 love your tutorials btw!
@mlcddmax522
@mlcddmax522 5 жыл бұрын
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-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
You can try removing and re-adding the Android platform in the project. Make sure you are waiting for the deviceready event.
@sanjaymahabir1386
@sanjaymahabir1386 5 жыл бұрын
Really Helped me thanks alot !!!!!!!!!!!!!!!!1
@ndsnds861
@ndsnds861 5 жыл бұрын
The application does not show the dialogue. Can you give a full source for comparison?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
I always put the code gist links in the description.
@sumitmahajan5730
@sumitmahajan5730 4 жыл бұрын
how to add cdn JavaScript file in Cordova and how to open in cordova
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
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.
@sumitmahajan5730
@sumitmahajan5730 4 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 can your please give any reference link what extra permission i need to add
@sumitmahajan5730
@sumitmahajan5730 4 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 i m using cdn js file then is give me error to load external js file.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
@@sumitmahajan5730 did you update your content security policy? The error message should tell you the reason
@sumitmahajan5730
@sumitmahajan5730 4 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 i haven't added contest security policy meta tag
@itkhmer1544
@itkhmer1544 5 жыл бұрын
why use android platform 8 can't use internet or wifi on real device ?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
It can, as long as it has permissions.
@jasurjakhongirov
@jasurjakhongirov 3 жыл бұрын
How do we install and be able to use cordova apps in mobile phones? ))
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
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.
@jasurjakhongirov
@jasurjakhongirov 3 жыл бұрын
@@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-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
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.
@gauravpandita8134
@gauravpandita8134 4 жыл бұрын
Hello sir can u pls explain it again and evry step pls and show this project on live server pls
@martinarlando6053
@martinarlando6053 4 жыл бұрын
thank you sir
@guliyevravan
@guliyevravan 3 жыл бұрын
cordova.plugins is undefined(((( Thanks for all cordova videos :)
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
Are you trying to access it before the deviceready event?
@guliyevravan
@guliyevravan 3 жыл бұрын
@@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.
@guliyevravan
@guliyevravan 3 жыл бұрын
Not working((( cordova.plugins is not defined
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
@@guliyevravan Try uninstalling and reinstalling the platforms and plugins. Then rebuild and test
@guliyevravan
@guliyevravan 3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thanks . 👍👍👍👍👍👍
Using the Cordova Camera Plugin
23:05
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 53 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
VM vs Kubernetes: Performance 🚀
6:07
Anton Putra
Рет қаралды 4,5 М.
The Cordova Local Notifications Plugin
18:11
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 21 М.
How to Build Your Own Capacitor Plugin for Ionic
26:59
Simon Grimm
Рет қаралды 22 М.
Apache Cordova Tutorial Convert Web App to Mobile App
18:10
Adam Khoury
Рет қаралды 66 М.
How to Travel Anywhere on Earth in 45 Minutes
9:38
StarTalk
Рет қаралды 44 М.
Cordova  Device Plugin and Mobile App Testing in the Browser
10:08
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 26 М.
Mastering Memory Management in Node.js: Tips and Tricks for Better Performance
16:06
Software Developer Diaries
Рет қаралды 40 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН