I am using this plugin called https://pub.dev/packages/android_alarm_manager .It says please set your constraint to android_alarm_manager: '>=0.4.y+x <2.0.0'
I dont understand what is the meaning of this y+x.I found a similar question but still I couldnt clearly figure out the meaning .My alarm manager plugin is not working properly on real devices though it works properly on the emulator or say in debug mode on my phone and I am thinking this has something to do with.
If you know as to any other reason as to why the alarm_manager plugin doesnt function properly on real devices please tell me and it will help me
This android_alarm_manager: '>=0.4.y+x <2.0.0' doesn't mean that you have to use 0.4.y+x. Basically all it means that you need to use a version that starts with 0.4. You can check the latest versions here:
https://pub.dev/packages/android_alarm_manager/versions
In your pubspec.yaml, add the following:
dependencies:
android_alarm_manager: ^0.4.5+11
Related
What is the cause of this situation, I wrote to the hereMap support team, but no one responded.
https://i.stack.imgur.com/lwV7R.jpg
EDİT: The latest version(4.12.7.0) of Heremap fixed this problem. please update SDK to latest version.
I ran into this issue as well.
As of the moment of writing this answer, the HERE SDK =< v3.12.3 is not compatible yet with Flutter 3.x due to this issue with platform views, as described in their release log here.
Solution is to use FVM and run the app using Flutter version 2.10.5.
Replace the HereMap in your Stack with an image. Then you will see that this is not related to your emulator nor the map. From the screenshot it looks like a problem with your visual tree.
I'm using deferred in flutter for split code into a separated file, but it work done with android and web and also with windows, but about ios and mac doesn't good and make a problem, anyone knows more about it, or use it?
I get more info about it, in this link deferred component
can I write a condition on it,like work only for a specific platform?
thanks.
I'm trying to implement a feature based on the background/foreground status of a Flutter app.
Does anyone know of a way to detect if the notification/system try on a device is pulled down over the app?
Thanks.
Welcome to SOF
You can detect this using special permission in Android (https://developer.android.com/reference/android/Manifest.permission#EXPAND_STATUS_BAR).
But you need native code to run in Flutter.
There is a similar (almost) package out there, you may fork it:
https://pub.dev/packages/notification_shade
I have trouble in setting flutter and running an app on a real device in vs code. I want to run my apps on physical device and I do not want to use emulators. Is it going to be possible?
Yes, this is very possible. In fact, many flutter developers use physical devices in order to test features like Maps,Camera, etc. I always recommend following a video tutorial to set up environments for development. But you should try the following:
First of all, I recommend the flutter docs https://flutter.dev/docs/development/tools/vs-code to set up vscode.
After this, all you need does not have anything to do with VSCode any longer. You should check https://flutter.dev/docs/get-started/install/windows to connect a physical device.
Im not sure if you have already setup flutter on your machine to start with. If you haven't use this link how to install flutter
the next part is easy just install dart and flutter extensions in vscode.
walla!
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.