I'm desperate.
I've build an application on Ionic4 and iOS and Android and some Ionic native libraries.
I'm using the Geolocation Native API and it's working perfectly on iOS.
My problem is with Android. If I ran ionic cordova run android --livereload the location works perfectly but if I build --prod, nothing happens. It doesn't prompt for the permission to use your location, nothing... It doesn't even show the loading spinner. Has someone experienced something similar? I've also tested using the GoogleMaps API, no success.
Thanks
Could you please give some more details regarding your issue?
Also as a quick workaround could you please by wrapping your geolocation code inside this.platform.ready() listner, for better debugging of your issue.
Related
I want to use flutter app badge for incoming notification, I used package "package:flutter_app_badger" but its not working. Its not giving me error message also and it run succefully but its not working.
I am using android vivo mobile for testing.
When i check this package is supported to my device or not ? with following code and its says yes, this device is supported app badger.
for platform checking:
FlutterAppBadger.isAppBadgeSupported();
for add badge on app icon i below code simply:
FlutterAppBadger.updateBadgeCount(1);
can anyone please solve this query its really helpful to me.
If I use will_pop_scope in my flutter code then it will be run perfectly for android but it not working in iOS. Any other third party packages or gesture swipes are also not working.
If anyone showing this post from flutter community then please help me out from this problem and
please fix this issue from google devs or framework flutter insider devs
I'm developing in Ionic Framework.The barcodeScanner plugin(ngCordova) doesn't work for the newest version of Android.
I suspect the plugin is not updated for this version.
Any of you have found a solution? Thanks.
Samuel Paredes, There is many change in Android 6(M) , the main is runtime permissions, so we need the camera for the barcode scanner , but the plugin is not yet updated for that so we need to On the Camera permisson for the application manuully.
Setting >> APP manager >> Your App >> Permissions >>Camera >>
Please enable the camera permission from there.
Hope it will help you
We have this problem too. To solve it we have done this : ionic platform add android#4.1 and it solve the problem
I have this problem: Sorry, the android camera encountered a problem. You may need to restar the device
http://i.stack.imgur.com/0nHW3.png
Droid Tech, will this be resolved in the near future? Is there some way to monitor or to get a notification when this bug is solved?
Same error happened to me. A guy on Github forked the plug-in and fixed it, take a look here.
basically, remove the barcode scanner plugin you have right now and add the new one like this:
cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner
It works exactly the same way.
I am trying to add a photo editor functionality to my ionic framework application. How ever I couldn't find a decent sdk that goes with it. I'd like add
aviary/creative
sdk but there is not an obvious way to do it. I tried angular-aviary plugin for cordova but that is not working anymore. Please help me find a good photo editor sdk that works with cordova/ionic framework. Any help would be appreciated, thanks...
I've spent about a week looking for the same thing. Beyond the Creative SDK there is also the img.ly PhotoEditor SDK which offers Android, IOS, and HTML5 as well. But as with Creative none of it is easily compatible with Ionic. I'm still looking for a solution but would be very interested if others have ideas as well!
Have a look at the PhotoEditor SDK Cordova Plugin Demo and the guide for integrating the editor under Ionic and Cordova to get an idea of how to get the editor working under Ionic. Basically, it works like this:
The idea is to create a Cordova app that allows the user to open an image from their photo library and edit this image using the PhotoEditor SDK on iOS and Android. This is done by using an existing library to access native photo pickers on both platforms and passing the path to the found image to a plugin. The plugin manages the configuration and opening of the PhotoEditor SDK’s editor and passes the edited image back to Cordova.
I was in search of this functionality and founded a proper documentation for ionic Framework from PhotoEditor SDK . Please follow the instructions given here to add Photo Editing functionality in ionic app Quickstart for ionic Framework
Hope it will help someone.
I'm looking to build a mobile application using Meteor+Cordova. Looking to get the Facebook login to work first. Apparently the default accounts-facebook package doesn't work so I looked around atmosphere and only found "particle4dev:cordova-fb", so I tried using that.
I'm a bit confused about the app developer stuff. Normally I just use it for my website so its quite straight forward. In terms of setting up the login details (such as ID and token), do I register as if it's an IOS app? Or do I still register as if its web?? It asks me to download XCode SDK for FB, is that what I'm supposed to be doing? is the package mentioned above what I should be using, or are there more mainstream options available?
I was also facing problem with accounts-facebook package. It was using in-app cordova browser and failing at the time of oauth handshake.
I added cordova:com.phonegap.plugins.facebookconnect#0.11.0 to app and enabled it for single sign on from developer account on facebook.
If you face any problem then please look at my blog here. I have written a simple tutorial.
If there are still some people to fix this thing, this may help them.
I've just used the latest version on github.
removing the plugin and adding it again like this:
meteor add cordova:com.phonegap.plugins.facebookconnect#https://github.com/Wizcorp/phonegap-facebook-plugin/tarball/d8b0f6935a7c6e586188bf85f9da88a1c160790b
This above code with particle4dev:cordova-fb worked like a charm on android and it should work on ios devices also. It seems they fixed the issue in their updates.
accounts-facebook package works fine. I just created a new project and tried, you can refer to this screencast http://recordit.co/7JNpDSzJ9m
if you are using accounts-facebook, you need to register the app as web on fb
So I've been trying to use particle4dev:cordova-fb for awhile now. For those who are confused about how to implement it. First you add it as a package to your existing app. Then you add the facebookconnect cordova plugin. Then you add the android platform. Then try and run the android platform (meteor run android --settings settings.json). This should fail. Now go through the steps on implementing facebookconnect on Android. This should make sure it works on android now. However even after doing all of this and getting it to work, it still simply opens up the in app browser on android for some reason.