Is there a difference between D/FlutterGeolocator and D/FlutterLocationService? - android

So I'm building 2 apps, a user app and a driver app. Both are built successfully, but when installing on Android emulator they both show different things. The driver app show D/FlutterGeolocator: Binding to location service, and installs perfectly. However, when installing the user app it shows: D/FlutterLocationService: Binding to location service., and then gives out some error like: Lost connection to device.
Why do they both show different things? And how can I get the user app to show D/FlutterGeolocator so it might just install like the driver app.

Related

Error 403 while trying to download the app via App Distribution

For testing, a project was created in Firebase and two applications (for iOS and Android) were published. Testers have also been added, who have successfully received invitations to participate in testing by email.
When clicking on the link in the invitation, a window opens (first screenshot), which successfully displays some information about the application under test. Immediately, the user is offered to download the App Tester application or download the application being tested directly. When you click on both buttons, the same error appears (second screenshots).
ps What can it be connected with? I am currently in Russia, but I tried downloading using a VPN - the same result.
pss the application is written in Flutter, it was also initialized as a Flutter application in Firebase
Yes, the download does not start due to the fact that I am geographically located in Russia, which is sad. The download has started from the VPN of another country.
ps Apparently the VPN, under which the application did not load, also sent requests through Russia

Is there any effective way to test an app for the Huawei Store using Android Studio emulator?

I would like to know if there is any effective way to test an app for Huawei Store using an Android Studio emulator.
I tried disabling the Google Play Services, but for some reason Retrofit requests stopped working :/
You can use Cloud Debugging of AppGallery Connect to test your app for Huawei Devices.
Cloud Debugging tests your app using mainstream Huawei devices provided by Huawei. You can run your app on the latest and most popular Huawei devices to test app functions.
Work with Cloud Debugging
Sign in to AppGallery Connect and select My projects.
Select an app to be tested.
Go to Quality > Cloud Debugging.
Filter devices by Series, Android version, EMUI version, and Resolution.
In the Apply for device model dialog box that is displayed, set Debug duration based on your needs. The options are 30 min, 1 h, and 2 h.
Wait for the device initialization to finish.
Click the Debugging tab.
Click Upload to upload an APK.
Check the APK upload progress and install the APK after the upload is complete.
In the displayed dialog box indicating that the app is being installed, click OK. When the installation is complete, you can see the app icon on the device screen on the left.
Operate the device by moving or clicking your cursor on the device screen, or clicking the power button, home button, menu button, or back button. The device will respond like your own phone.
Check Screenshot below:
You can check out the official documentation for a more complete answer.
For most cases, you can simply grab HMS Core APK and install it on emulator or physical device
You do not need for most cases Huawei device. Here is my battle-tested solution.
If you're implementing HMS (Huawei Mobile Services) feature like push notifications, sms retrieving or auth(orization) you can do simply:
Grab HMS Core APK from: https://www.huaweicentral.com/download-the-latest-huawei-mobile-services-apk/
Create new or run existing Android emulator via Android Studio or ADB
Install HMS Core APK downloaded from 1.
Go to Settings -> Apps & Notifications
Make sure that HMS Core has required permissions like SMS for SMS retrieving or push notifications
If you forget about 5., HMS library will return exception "Permissions not enabled"
I am pretty sure that instead of emulator you can use any of physical devices, grab APK and install HMS Core on it.
From: https://stackoverflow.com/a/63790263/4730812
Happy coding!
Well, I was trying here to make Retrofit work in this condition and I found a way.
I don't know if it is the best solution, but I will post it anyway.
disable the Google Play Services;
force stop your app;
restart the emulator;
check if it is working now (if not, try to force stop your app again).
P.S.: Google Play Services is not re-enabled upon reboot.

Silent autoupdate running Android application

From what I read on SO, it seems that I want the impossible (?)
I have a kiosk-like app that is supposed to run 24/24, 7/7, 365/365. This makes it hard/impossible to update the app. As far as I know, Google Play will not start the update (even if Autoupdate is set for my app) while my app is running.
I read across SO and several forums an found a lot of NO's and CON's. My current answer is that is not possible without rooting the device or without some system certificates and so on.
But still, I have the following scenario:
I created a google account myGoogleAccount#gmail.com
On my device I add this account and install my application from Google Play store.
On my desktop machine I log into GPlay with the same account and I go to my application and I see that my app is Installed. If I click on the Installed button I can see my device.
I publish a new version of the app, when the app becomes available, from my application's page open on desktop I can send a command to update the app.
I get the prompt to accept the terms bla-bla, and once I accept it, the app is automatically updated even if it is currently running.
Basically this is the behavior I am interested in. My question is: can I run this scenario from my device [invoking some GPlay api's] given the fact that I can provide the google account credentials to the app, so that no user intervention is required to update the app and to accept whatever unchanged permissions?

Device cannot connect android market

My app have purchase in app, but when i run the app, disappear an alert with content "This app cannot connect to market. Your version maybe out of date. You can continue to use this app but you won't be able to make purchase".
My devices is installed Google Play 3.5.15, and also connect internet. I have ran my app in another devices, it's ok. Can i tell me why, what solution?

Has anyone successfully converted an Android app using GPS over to Blackberry PlayBook using the Eclipse plugin

I have tried converting my functional android app that uses GPS over to the Playbook and it compiles, loads, and runs on the device, but hangs trying to access the GPS. I have figured out that there should be a user prompt displayed asking for permission to access the GPS location, but it never appears. I am using the android permission "android.permission.ACCESS_FINE_LOCATION" and have tried coarse also, but I cannot get that user prompt to show up. Also, the app is not listed in settings >> security >> application permissions.
GPS does work on the device with other apps and I am NOT using Google Maps API's
Has anyone successfully done this with GPS, and if so, what permissions or work-arounds did you have to use.
Thanks
If you're side-loading the app onto the device you don't get the prompt about permissions, nor will your app appear in the Security->Application Permissions section. See this thread for details.
Can't blame you for giving up on the Playbook though - it's a complete pain to develop on, as are all the other BlackBerry platforms!

Categories

Resources