(Android) (Ionic) Facebook Codeless connection is not stable on Android device
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing Github issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Java version
17
Android version
API 30, Android 11
Android SDK version
13.1.0
Installation platform & version
Maven
Package
Core & AppEvents
Goals
Instant connection when opening popup add event Codeless in android at: www.facebook.com/events_manager2.
The application is built on Ionic framework version 5.36.0.

Expected results
App connect as soon as shake on popup add event Codeless. Anytime open a new session in the app has to be connected immediately after a few seconds.

Actual results
Sometimes connect successfully to event Codeless, but sometimes can not. Kill App several times or delete App and reinstall then the App can not connect anymore. The error when connect unsuccessfully show in log is: E/com.facebook.appevents.codeless.ViewIndexer: Error sending UI component tree to Facebook: {HttpStatus: 400, errorCode: 100, subErrorCode: -1, errorType: OAuthException, errorMessage: (#100) The parameter must be a JSON object.}
Steps to reproduce
- Add Facebook SDK follow step: https://developers.facebook.com/docs/android/getting-started/
- Open www.facebook.com/events_manager2 -> login -> Choose Add event -> Choose codeless -> choose android -> open App -> shake.
Code samples & details
No response