LC10 rc1: Drop in support for Phone devices

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trevix
Posts: 1027
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

LC10 rc1: Drop in support for Phone devices

Post by trevix » Fri Oct 25, 2024 10:20 am

Goodmorning Vietnam...!

Today I tried to uplod to Play Console an update of my app, using LC10.0.1 RC1.

A certain number of devices were dopped for two reasons:
1 -Doesn't support required OpenGL ES version (1,254 devices) (3.0)
2- Doesn't support required feature (220 devices) android.hardware.location.gps

As for point 1, on the release note LC says that OpenGL 3 is supported.
In the runtime/android/Manifest.xml of LC10, the OpenGL is listed as" <uses-feature android:glEsVersion="0x00030000"/>.
Somehow it does not reach the standalone (see standalone setting screenshot).

As for point 2, my app does not require hardware GPS, but since it uses Bluetooth, it asks for localization services. So I guess is only a matter of writing somewhere that the app does not require a gps., but I don't know where...
Because of BT, on the App I set the following Android permissions:
androidRequestPermission "android.permission.BLUETOOTH_SCAN"
androidRequestPermission "android.permission.BLUETOOTH_ADVERTISE"
androidRequestPermission "android.permission.BLUETOOTH_CONNECT"

Thanks for any comment that can be of help.
Trevix
Attachments
Screenshot 2024-10-25 alle 11.14.25.jpg
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

trevix
Posts: 1027
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: LC10 rc1: Drop in support for Phone devices

Post by trevix » Fri Oct 25, 2024 11:38 am

I solved the GPS problem adding the following line in the untime/android/Manifest.xml of LC10:
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
PS: this setting should be in the LC Android standalone settings... :evil:

I don't know yet if the app will work with BT, but I'll find out when also the OpenGL is solved and I will be able to upload a version wich does not drop devices because of OpenGL.

Any help?
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 849
Joined: Fri Feb 06, 2015 4:03 pm

Re: LC10 rc1: Drop in support for Phone devices

Post by LiveCode_Panos » Wed Oct 30, 2024 4:53 pm

Hello Trevix,

RE the OpenGL version, I believe you see this message about the drop in the number of supported devices, because in your previous app update you had removed this line from the manifest, to support an older version of an Android TV box, if I remember correctly:

<uses-feature android:glEsVersion="0x00030000"/>

So, removing this line means that there is no restriction in the version of the OpenGL the device supports.

When you rebuilt the app with 10 RC-1, the default manifest was used, thus the restriction for devices to support OpenGL v3 was in effect.

And since the devices that support OpenGL v3 are less than the devices that have no restriction regarding the OpenGL version, you got that msg about the number of devices dropped.

Does that make sense? :)

Kind regards,
Panos
--

trevix
Posts: 1027
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: LC10 rc1: Drop in support for Phone devices

Post by trevix » Wed Oct 30, 2024 5:01 pm

Yes sir, thanks.
In effect when I replaced <uses-feature android:glEsVersion="0x00030000"/> with <uses-feature android:glEsVersion="0x00020000"/> evething went back to normal.
To be seen if I have to remove the line completely or not.
The LC version documentation states that GL3 is for future use. Does this mean that now is not used at all, in any devices?
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 849
Joined: Fri Feb 06, 2015 4:03 pm

Re: LC10 rc1: Drop in support for Phone devices

Post by LiveCode_Panos » Wed Oct 30, 2024 5:31 pm

Nice.

I am not entirely sure, I _think_ currently, when accelerated rendering is enabled, if the device supports GL3, then this is used, otherwise it falls back to GL2.

Kind regards,
Panos
--

Post Reply

Return to “Android Deployment”