OpenFlutter / flutter_share_me

Flutter Plugin for sharing contents to social media. You can use it share to Facebook , WhatsApp , Twitter And System Share UI. Support Url and Text.
https://github.com/lizhuoyuan
Apache License 2.0
151 stars 145 forks source link

.aab fails to upload to Google Play #32

Closed kenthor closed 3 years ago

kenthor commented 3 years ago

I'm using version 0.9.1 of this plug-in.

Everything works fine when I build an apk and test this on both the emulator and on a real device. I'm also able to build a final release version as an .aab file without problems, but this .aab file is not accepted when uploading it to Google Play (through Google Play Console). There is no error message to explain the reason for the upload failure.

It turns out that the .aab file is considered to be invalid because of an invalid resource contained in the Facebook Android SDK ver. 5.9.0 (which this plug-in uses).

I was able to create a valid .aab file using the solution found here: https://stackoverflow.com/questions/58924089/error-when-trying-upload-aab-to-google-play-console-res-values-fb

Of course, the real fix is for this plug-in to use the updated version of the Facebook SDK.

mateushoeckler commented 3 years ago

Same problem, thanks!

lizhuoyuan commented 3 years ago

I will modify to the latest version as soon as possible