Debug release apk using chrome dev tools - android

My app connects to the internet in development, however, the apk uploaded to the play store does not pull down data from the api.
How can I debug the release apk using chrome dev tools?
I have the following permissions in my AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

If debug the API response, you do it by setting up the proxy, for that you can use the Charles proxy .
guide https://www.charlesproxy.com/documentation/using-charles/

Related

Postman mock services not working on flutter android app release

I am using postman for a mock api services to test back-end requests on a flutter android app, it works in debug mode however when I create an app release it doesn't work, why is that?
I have found that the solution was simply by adding this to AndroidMainfest.xml
<uses-permission android:name="android.permission.INTERNET" />

Xamarin App SQL Server Connection not working in release mode

I have a C# Android app that connect to a SQL Server database. I noticed that if I build in Release mode, the connection to the database is not working. But if I build in Debug mode, it works fine. What could be causing this?
I already set the user permission
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
And this is my settings
And this is my Sql Server connection
I solve the issue by setting up the
Linkers properties to
SDK ASSSEMBLIES ONLY
and
Additional support encodings to MIDEAST,WEST

Android uses-feature fingerprint required=false parsing error

In my app I use the FingerprintManager.
In the manifest I have declared the uses-feature and the permission:
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-feature android:name="android.hardware.fingerprint" android:required="false" />
It all works fine on devices with fingerprint hardware. It also works fine if I install the app by AndroidStudio on a device without the fingerprint hardware.
The problem is when I try to install the .apk on a device without fingerprint hardware I get either a parsing error or a simple message "App was not installed."
What can I do to fix this ?
Finally I found the solution.
I had to check V1 (JAR signature) on the second page of 'Build signed APK' in AndroidStudio.

Your device isn't compatible with this version :Can install apk manually in that device

I have built one android application and uploaded in playstore. Few devices most probably which are not having gps are not able to download from playstore. Playstore saying "your device isn't compatible with this version".
I am using
the following permission and features
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
I didn't make the feature required=true, so far I know if don't mention required=true then it will not prevent devices to download which are not having such features.
For your information, manually I am able to install the apk to the same device. Your help is highly appreciated.

PhoneGap Android with SSL fails after signed

I am developing an app that works fine in debug mode running from eclipse. But when it is exported from eclipse unsigned and then signed on our server with our keystore, it can no longer access Internet. The app uses only SSL. We have a Godaddy ssl cert on the server.
The app uses Phonegap with following permissions:
<uses-permission android:name="android.permission.INTERNET">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE">
The app works fine in iOS installed from App Store, using the same javascript code to access the services.
I can't find much information about what can be wrong here. I do know that I have had issues before with Godaddy ssl certs on the java platform. But since it works in eclipse debug mode, I can't see that as the reason.
Any ideas anyone?
Update:
Problem/Solution
The Eclipse signed debug apk was able to use a GoDaddy SSL certificate without the intermediate certificate installed on the server.

Categories

Resources