anjandv
January 21, 2020, 3:36am
#1
I am new to meteor and I built the app used by previous developer, the WebApp and IOS app is working fine. where as android app is getting stuck in Meteor.status().status waiting state.
I am using android target-sdkversion as 28. I am unable to see logs as well.
I have added
App.accessRule(’*’);
in my mobile-config.
Apologies in case if the question is too basic.
You have stuck after add “App.accessRule(’*’);” or also before ?
Your Android app is never works ?
anjandv
January 22, 2020, 1:20am
#4
It is a new app. It never works on android. But iOS and WebApp is working.
rjdavid
January 22, 2020, 4:40am
#5
Are you testing in an actual android device?
Android sdk 28 no longer allowed cleartext traffic by default. You need to set cleartext traffic to true using mobile-config
anjandv
January 22, 2020, 6:11am
#6
Hi Thanks for your reply. I got the app working by adding adding the android:targetSandboxVersion="1"
and android:usesCleartextTraffic="true"
Although adding App.setPreference('android-targetSandboxVersion', '1');
is not changing the android.manifest.
rjdavid
January 25, 2020, 8:32am
#7
We are using something like this
App.appendToConfig(`
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<android:usesCleartextTraffic="true" />
</edit-config>
</platform>
`);