Windows Azure Authentication Provider is not enabled - android

I'm developing an Android app with eclipse and using the Windows Azure Mobile Services as a BaaS and when I try to use authentication provider (of Google or Microsoft) from Android SDK provided by Microsoft, it always appears me the following error:
com.microsoft.windowsazure.mobileservices.MobileServiceException:
Logging in with the selected authentication provider is not enabled
Thanks in advance!

I finally figured out the problem! :P
There was a missing configuration line in AndroidManifest.xml file which was the following:
<uses-permission android:name="android.permission.INTERNET" />
I don't know how this happened, but maybe I removed without noticing it. Thanks Akhilesh Mani for the attempt on helping me. But it is helpful anyway. ;)

Related

No internet connection - Android Firebase Flutter RTD

When building an .apk of my flutter app and installing on my android device the data created is only locally saved not saved online. When using in the android emulator it works perfectly with no errors, even when switching the signing configs to use debug.
There are no firebase rules set, everyone can read and write. There is no fingerprint/sha1 hash set. All android settings have stayed the same since the build version has worked on android correctly.
If there is anything code etc. i can give please ask, not sure what is helpful here as all settings were the same when it was working.
You have not granted internet permission to access the application
Open the AndroidManifest.xml file located at ./android/app/src/main and add the following line:
<manifest xmlns:android="...">
<uses-permission android:name="android.permission.INTERNET"/> <!-- Add this -->
</manifest>
Refer here

Flutter: APK Requires Promiment disclosure/APK Requires valid privacy

I'm trying to publish a new version of my app on the Google Play console. Before it was fine but now I'm having difficult because it keeps rejected by Google. I did some research on different sites regarding on the issue for a fix but I could not find anything related to Flutter. Based on the eligibility issue it mention "Stripe SDK" but on my app I don't have or I didn't use any Stripe SDK package etc. I did do project wide search on my project source but I could not find any Stripe keywords. I only have in_app_purchase package (I'm not sure if there is something to do with it) I also added the privacy policy on the Play Developer Console and on the App itself but it still rejected. Has someone encountered this issue and how to fix it?
Screenshot from Google Play Console
Thanks!
Analyze your apk to see if the manifest contains the permission:
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
and also make sure none of your dependencies use the said permission or StripeSDK.
for details how to analyze apk visit:
docs

IONIC Application showing no internet connection

I have successfully installed cordova network plugin and no errors so far from the code side.
When I use ionic serve to get the app to run on my browser, it detects my wifi and the plugin recognizes a connection, and if i disable wifi on my computer, it again recognizes that there is no internet connection.
The problem now comes when I install the app onto an android phone after building. I even have Bluestacks on my computer but the app does not get the network from there too. Has anyone run into this problem? How did you go through it?
I do not think it is an issue with my code, so I am not posting code, unless someone will need it for clarification.
I hope someone is able to help.
Permission in androidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
config.xml do include:
<access origin="*" />
Problem Solved : As Permission Issue Held Due to Permission Was Listed in Dangerous Permission.
I Lowered my TargetSDKVersion

Android APK file does not connect to server through network : PhoneGap Build

I'm currently developing an application using PhoneGap in Eclipse. One of the features of the app is that it connects to a remote server through the network. In eclipse, when I run the project as an 'Android Application' directly on the device, everything works perfectly and the device successfully connects to the remote server. This I guess is the 'Debug' build that eclipse offers.
I then go on to create an APK file for the project through PhoneGap's site... I install the APK on the device and when I try to connect, it does not work. The app just hangs when I click on the connect button and does nothing.
I check the debug build and everything works again like a charm. Can someone please tell me what I'm missing ? Do I need to sign the APK file that I'm creating on the PhoneGap site ? Any help would be much appreciated.
Thanks in advance
Maybe you can put
AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.package">
<uses-permission android:name="android.permission.INTERNET"/>
<application>
...
</application>
</manifest>

Is it possible to upgrade Android firmware programatically?

I need to write Android application which looks for firmware in internet and allows to automatically download selected firmware and perform update on device. Is it possible?
Thanks
It should be possible. I am trying to do the same thing. I posted a question about this as another user. It almost works for me, but my device can't apply the new image on boot time.
Basically you use the RecoverySystem.installPackage(context, packageFile) method to do this. You will also need the following permissions:
<uses-permission android:name="android.permission.REBOOT" />
<uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
<uses-permission android:name="android.permission.DELETE_CACHE_FILES" />
Also, your app must run as a system app. I don't know if you're using the whole Android SDK with Eclipse and the SDK tools, but what I did for that was basically connect my device to my machine and used it for debuggin, then ran the app through the IDE so it gets uploaded and run on the device. And finally use the adb shell command to open up a shell on my device and moved the apk package file from /data/app to /system/app and rebooted.
Check out my post here. It might help you out.
Android development RecoverySystem.installPackage() cannot write to /cache/recovery/command permission denied
You need root, and it won't be automatically applied, but like with cyanogen updater, it reboots to recovery where the user will apply the update by itself
It is possible. Take a look at Clockwork Mod - http://www.clockworkmod.com/rommanager
They have an app which will check for the latest version of the firmware and update it - available on Google Marketplace https://market.android.com/details?id=com.koushikdutta.rommanager&hl=en

Categories

Resources