appcues / appcues-react-native-module

The Appcues React Native Module
MIT License
11 stars 0 forks source link

🐛 Replace fragment called in sync instead of invoking a post(runnable) #129

Closed andretortolano closed 11 months ago

andretortolano commented 11 months ago

removing the logic to add fragment from a runnable and calling it directly during onAttachToWindow to ensure its running while the state of the activity is "CREATED" in order to avoid the possible

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
shortcut-integration[bot] commented 11 months ago

This pull request has been linked to Shortcut Story #60498: [React Native] - Android failing to inflate Fragment.