Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjoberg committed Oct 11, 2022
1 parent 5805b9b commit 701bb80
Show file tree
Hide file tree
Showing 16 changed files with 207 additions and 144 deletions.
10 changes: 6 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import com.android.build.OutputFile
* // default. Can be overridden with ENTRY_FILE environment variable.
* entryFile: "index.android.js",
*
* // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format
* // https://reactnative.dev/docs/performance#enable-the-ram-format
* bundleCommand: "ram-bundle",
*
* // whether to bundle JS and assets in debug mode
Expand Down Expand Up @@ -80,7 +80,9 @@ import com.android.build.OutputFile

project.ext.react = [
entryFile: "index.js",
enableHermes: true, // clean and rebuild if changing
bundleAssetName: "index.android.bundle",
enableHermes: true, // clean and rebuild if changing,
jsBundleDirRelease: "$buildDir/intermediates/assets/release",
]

apply from: "../../node_modules/react-native/react.gradle"
Expand Down Expand Up @@ -141,8 +143,8 @@ android {
applicationId MYAPP_APP_ID
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 102
versionName "0.5.1"
versionCode 112
versionName "0.6.0"
missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true
manifestPlaceholders = [appName: "Blixt Wallet"]
Expand Down
9 changes: 8 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ LogBox.ignoreLogs([
// We are putting functions in navigation route props
"Non-serializable values were found in the navigation state",
// Native-base doesn't have useNativeDriver for every animation
"Animated: `useNativeDriver` was not specified"
"Animated: `useNativeDriver` was not specified",
// Ignore react-native-tor warning
"Module Tor requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.",
// Ignore intentional require cycle
"Require cycle: node_modules/protobufjs/src/enum.js -> node_modules/protobufjs/src/namespace.js -> node_modules/protobufjs/src/field.js -> node_modules/protobufjs/src/enum.js",
"Require cycle: src/storage/app.ts -> src/migration/app-migration.ts -> src/storage/app.ts",
// Ignore i18next warning about missing Intl API
"i18next::pluralResolver: Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.",
]);

if (
Expand Down
Loading

0 comments on commit 701bb80

Please sign in to comment.