Skip to content

Commit 9a9e30c

Browse files
committed
fix: IOS RN 0.74 fixes
1 parent 1688f7c commit 9a9e30c

File tree

21 files changed

+94
-86
lines changed

21 files changed

+94
-86
lines changed

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ android {
107107
applicationId 'org.ZingoLabs.Zingo' // Real
108108
minSdkVersion rootProject.ext.minSdkVersion
109109
targetSdkVersion rootProject.ext.targetSdkVersion
110-
versionCode 217 // Real
110+
versionCode 218 // Real
111111
versionName "zingo-1.11.0" // Real
112112
testBuildType System.getProperty('testBuildType', 'debug')
113113
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

app/LoadedApp/LoadedApp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ export class LoadedAppClass extends Component<LoadedAppClassProps, LoadedAppClas
11891189
},
11901190
{ text: translate('cancel') as string, style: 'cancel' },
11911191
],
1192-
{ cancelable: false, userInterfaceStyle: 'light' },
1192+
{ cancelable: false },
11931193
);
11941194
} else if (item === MenuItemEnum.TipZingoLabs) {
11951195
const { translate } = this.state;
@@ -1207,7 +1207,7 @@ export class LoadedAppClass extends Component<LoadedAppClassProps, LoadedAppClas
12071207
style: 'cancel',
12081208
},
12091209
],
1210-
{ cancelable: false, userInterfaceStyle: 'light' },
1210+
{ cancelable: false },
12111211
);
12121212
} else if (item === MenuItemEnum.AddressBook) {
12131213
this.setState({

app/LoadingApp/LoadingApp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ export class LoadingAppClass extends Component<LoadingAppClassProps, LoadingAppC
720720
onPress: () => reject(),
721721
},
722722
],
723-
{ cancelable: false, userInterfaceStyle: 'light' },
723+
{ cancelable: false },
724724
);
725725
});
726726
};
@@ -1243,7 +1243,7 @@ export class LoadingAppClass extends Component<LoadingAppClassProps, LoadingAppC
12431243
},
12441244
{ text: this.props.translate('cancel') as string, style: 'cancel' },
12451245
],
1246-
{ cancelable: false, userInterfaceStyle: 'light' },
1246+
{ cancelable: false },
12471247
);
12481248
}
12491249
};

app/LoadingApp/components/StartMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ const StartMenu: React.FunctionComponent<StartMenuProps> = ({
352352
},
353353
{ text: translate('cancel') as string, style: 'cancel' },
354354
],
355-
{ cancelable: false, userInterfaceStyle: 'light' },
355+
{ cancelable: false },
356356
);
357357
} else {
358358
createNewWallet();

app/createAlert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const createAlert = async (
3434
},
3535
{ text: translate('cancel') as string, style: 'cancel' },
3636
],
37-
{ cancelable: false, userInterfaceStyle: 'light' },
37+
{ cancelable: false },
3838
);
3939
} else {
4040
// no email button

app/recoveryWalletInfo.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as Keychain from 'react-native-keychain';
22
import { GlobalConst, WalletType } from './AppState';
33

4-
const options = (biometrics: Keychain.BIOMETRY_TYPE | null): Keychain.Options => {
4+
const options = (biometrics: Keychain.BIOMETRY_TYPE | null): Keychain.BaseOptions => {
55
return {
66
service: GlobalConst.serviceKeyChain,
77
accessControl: Keychain.ACCESS_CONTROL.BIOMETRY_CURRENT_SET_OR_DEVICE_PASSCODE, // for both
@@ -11,8 +11,8 @@ const options = (biometrics: Keychain.BIOMETRY_TYPE | null): Keychain.Options =>
1111
// with biometrics in the device -> SECURE HARDWARE
1212
securityLevel: biometrics ? Keychain.SECURITY_LEVEL.SECURE_HARDWARE : Keychain.SECURITY_LEVEL.SECURE_SOFTWARE,
1313
// with biometrics in the device -> RSA
14-
storage: biometrics ? Keychain.STORAGE_TYPE.RSA : Keychain.STORAGE_TYPE.AES,
15-
} as Keychain.Options;
14+
storage: biometrics ? Keychain.STORAGE_TYPE.RSA : Keychain.STORAGE_TYPE.AES_GCM,
15+
} as Keychain.BaseOptions;
1616
};
1717

1818
export const saveRecoveryWalletInfo = async (keys: WalletType): Promise<void> => {

app/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"zingo": "Zingo",
3-
"version": "zingo-1.11.0 (217)",
3+
"version": "zingo-1.11.0 (218)",
44
"loading": "loading...",
55
"connectingserver": "Connecting to the server...",
66
"wait": "Please wait...",

app/translations/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"zingo": "Zingo",
3-
"version": "zingo-1.11.0 (217)",
3+
"version": "zingo-1.11.0 (218)",
44
"loading": "cargando...",
55
"connectingserver": "Conectando con el servidor...",
66
"wait": "Por favor espere...",

app/translations/pt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"zingo": "Zingo",
3-
"version": "zingo-1.11.0 (217)",
3+
"version": "zingo-1.11.0 (218)",
44
"loading": "carregando...",
55
"connectingserver": "Conectando-se ao servidor...",
66
"wait": "Aguarde um momento...",

app/translations/ru.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"zingo": "Zingo",
3-
"version": "zingo-1.11.0 (217)",
3+
"version": "zingo-1.11.0 (218)",
44
"loading": "загрузка...",
55
"connectingserver": "Подключение к серверу...",
66
"wait": "Пожалуйста, подождите...",

0 commit comments

Comments
 (0)