From d0ef1ca7acdcecd3b3cf0695e215123d78581549 Mon Sep 17 00:00:00 2001 From: sethkfman Date: Fri, 16 Jun 2023 09:58:42 -0600 Subject: [PATCH 1/4] updated migration script to check before assigning --- app/store/migrations.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/store/migrations.js b/app/store/migrations.js index f7f09d58ca3..1a7430c5756 100644 --- a/app/store/migrations.js +++ b/app/store/migrations.js @@ -412,8 +412,13 @@ export const migrations = { } }, 17: (state) => { - state.networkOnboarded.networkOnboardedState = {}; - return state; + if ( + state.networkOnboarded && + state.networkOnboarded.networkOnboardedState + ) { + state.networkOnboarded.networkOnboardedState = {}; + return state; + } }, }; From 687ea1dc77b45e15fcf6e4032e032cb08861316b Mon Sep 17 00:00:00 2001 From: sethkfman Date: Fri, 16 Jun 2023 09:58:58 -0600 Subject: [PATCH 2/4] bump version --- bitrise.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitrise.yml b/bitrise.yml index aa7b129dcbc..b3a59396baa 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -624,10 +624,10 @@ app: PROJECT_LOCATION_IOS: ios - opts: is_expand: false - VERSION_NAME: 7.1.0 + VERSION_NAME: 7.0.2 - opts: is_expand: false - VERSION_NUMBER: 1127 + VERSION_NUMBER: 1134 - opts: is_expand: false ANDROID_APK_LINK: '' From 87f52b38626d1714ef2f8084369d0fa6b74f98ae Mon Sep 17 00:00:00 2001 From: sethkfman Date: Fri, 16 Jun 2023 14:48:23 -0600 Subject: [PATCH 3/4] added return statement to migration 16 instance --- app/store/migrations.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/store/migrations.js b/app/store/migrations.js index 1a7430c5756..98b02ea4f67 100644 --- a/app/store/migrations.js +++ b/app/store/migrations.js @@ -410,6 +410,7 @@ export const migrations = { state.engine.backgroundState.NetworkController.properties; delete state.engine.backgroundState.NetworkController.properties; } + return state; }, 17: (state) => { if ( @@ -417,8 +418,8 @@ export const migrations = { state.networkOnboarded.networkOnboardedState ) { state.networkOnboarded.networkOnboardedState = {}; - return state; } + return state; }, }; From 9d37323e90cd6829d14dc26b3fd47429e55ce7c1 Mon Sep 17 00:00:00 2001 From: sethkfman Date: Fri, 16 Jun 2023 14:48:59 -0600 Subject: [PATCH 4/4] bump version for test build --- bitrise.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitrise.yml b/bitrise.yml index b3a59396baa..8e4c541c0d2 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -624,10 +624,10 @@ app: PROJECT_LOCATION_IOS: ios - opts: is_expand: false - VERSION_NAME: 7.0.2 + VERSION_NAME: 7.1.0 - opts: is_expand: false - VERSION_NUMBER: 1134 + VERSION_NUMBER: 1135 - opts: is_expand: false ANDROID_APK_LINK: ''