AJAX request not working on Android 13

Hi all,

I’m facing an strange behaviour on my app. I’m updating to android 13, but when I add the Camera permission on the manifest all my ajax requests stops working.

This is the secuence:

Engine 11.0.0, targetSdkVersion 32 - Ajax works
Engine 12.0.0, targetSdkVersion 33 without camera permission - Ajax works, camera Error 20
Engine 12.0.0, targetSdkVersion 33 with:

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/uses-permission">
			<uses-permission android:name="android.permission.CAMERA" android:maxSdkVersion="33" />
</edit-config>

Ajax rerquests stops working.

I don’t know where are the issue, the ajax error response:

readyState=0, status=0, statusText=error

Thanks

Hi all!!

Everything looks good right now changing the camera plugin:

cordova-plugin-camera-flossy

Thanks!

Thanks for letting us know!

Hi
Tried to use this plugin, but when build for android 33, it shows below error

UserError: Failed to restore plugin “cordova-plugin-camera-flossy”.
You might need to try adding it again.
Error: TypeError: Invalid version.
Must be a string.
Got type “object”.

I suspect there’s a problem with the plugin tag in your config.xml. If you share that tag I can tell you if there’s a problem.