Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion android/app/src/main/java/com/shoutemapp/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ class MainActivity : ReactActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
//NativeModuleInjectionMark-mainActivity-onCreate
super.onCreate(savedInstanceState)
// Pass null instead of savedInstanceState — canonical react-native-screens
// workaround for Fragment$InstantiationException. ScreenFragment has a
// guard ("Screen fragments should never be restored") that fires whenever
// the FragmentManager tries to re-instantiate a saved ScreenFragment from
// savedInstanceState. Android 16 recreates activities much more
// aggressively, making this fire at scale (and visibly across all Android
// versions, with Android 16 the worst).
// See https://github.com/software-mansion/react-native-screens/issues/17
super.onCreate(null)
}

override fun invokeDefaultOnBackPressed() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shoutem/platform",
"version": "17.0.8",
"version": "17.0.9-rc.0",
"scripts": {
"android": "react-native run-android",
"build": "node scripts/build",
Expand Down
2 changes: 1 addition & 1 deletion package.template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shoutem/platform",
"version": "17.0.8",
"version": "17.0.9-rc.0",
"scripts": {
"android": "react-native run-android",
"build": "node scripts/build",
Expand Down
2 changes: 1 addition & 1 deletion package.template.web.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shoutem/platform",
"version": "17.0.8",
"version": "17.0.9-rc.0",
"scripts": {
"build": "node scripts/build",
"bundle": "node scripts/bundle",
Expand Down
8 changes: 4 additions & 4 deletions platform/platform.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "17.0.8",
"releaseNotes": "Release notes\n* 📱 Fixed issues with splash screen on iOS.\n* 🛜 Improved connectivity UX/UI",
"version": "17.0.9-rc.0",
"releaseNotes": "Release notes\n* 🛠️ Fixed issues with ocassional crashes on android 16 devices.",
"builds": {
"live": {
"excludedPackages": []
}
},
"nativeChanges": {
"lastVersion": "17.0.4"
"lastVersion": "17.0.9-rc.0"
},
"dependencies": {
"shoutem.about": "~9.0.3",
Expand Down Expand Up @@ -39,7 +39,7 @@
"shoutem.in-app-purchases": "~7.3.0",
"shoutem.interactive-faq": "~8.0.2",
"shoutem.layouts": "~8.1.2",
"shoutem.live-update": "~2.1.0",
"shoutem.live-update": "~2.1.1-rc.0",
"shoutem.loyalty": "~8.0.3",
"shoutem.menu": "~6.0.0",
"shoutem.navigation": "~7.4.5",
Expand Down