chore: remove unused dependencies

This commit is contained in:
pmigueld
2022-04-01 13:42:18 +08:00
parent 49065a5130
commit c6aa4a7e6c
7 changed files with 4250 additions and 9113 deletions

View File

@@ -21,7 +21,6 @@ import timber.log.Timber;
import com.facebook.react.bridge.JSIModulePackage;
import com.google.firebase.analytics.FirebaseAnalytics;
import com.google.firebase.crashlytics.FirebaseCrashlytics;
import com.swmansion.reanimated.ReanimatedJSIModulePackage;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
@@ -48,11 +47,6 @@ public class MainApplication extends Application implements ReactApplication {
protected String getJSMainModuleName() {
return "index";
}
@Override
protected JSIModulePackage getJSIModulePackage() {
return new ReanimatedJSIModulePackage();
}
});
@Override

View File

@@ -26,10 +26,9 @@ export default {
backgroundColor: '#FFFFFF',
},
},
web: {
favicon: './assets/favicon.png',
},
extra: {
backendServiceUrl: process.env.BACKEND_SERVICE_URL,
},
platforms: ['android', 'ios'],
privacy: 'hidden',
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -97,8 +97,10 @@ export const authMachine = model.createMachine(
{ to: (context) => context.serviceRefs.store }
),
setContext: model.assign((_, event: StoreResponseEvent) => {
const { serviceRefs, ...data } = event.response;
setContext: model.assign((_, event) => {
const { serviceRefs, ...data } = event.response as ContextFrom<
typeof model
>;
return data;
}),

View File

@@ -1,4 +1,5 @@
// Learn more https://docs.expo.io/guides/customizing-metro
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { getDefaultConfig } = require('@expo/metro-config');
const defaultConfig = getDefaultConfig(__dirname);

13338
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,6 +16,7 @@
"@digitalbazaar/rsa-verification-key-2018": "digitalbazaar/rsa-verification-key-2018#initial",
"@digitalcredentials/vc": "^1.1.2",
"@expo-google-fonts/poppins": "^0.2.0",
"@expo/metro-config": "^0.3.12",
"@idpass/smartshare-react-native": "^0.2.0",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/netinfo": "6.0.2",
@@ -32,13 +33,13 @@
"expo-app-loading": "~1.2.1",
"expo-barcode-scanner": "~11.2.1",
"expo-camera": "~12.0.3",
"expo-constants": "^13.0.2",
"expo-font": "~10.0.3",
"expo-notifications": "~0.13.3",
"expo-splash-screen": "~0.13.5",
"expo-status-bar": "~1.1.0",
"expo-updates": "~0.10.13",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-app-intro-slider": "^4.0.4",
"react-native-bluetooth-state-manager": "^1.3.2",
@@ -48,7 +49,6 @@
"react-native-keychain": "^8.0.0",
"react-native-location-enabler": "^4.1.0",
"react-native-qrcode-svg": "^6.1.1",
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.8.0",
"react-native-securerandom": "^1.0.0",
@@ -56,7 +56,6 @@
"react-native-svg": "12.1.1",
"react-native-system-setting": "^1.7.6",
"react-native-vector-icons": "^8.1.0",
"react-native-web": "0.17.1",
"xstate": "^4.26.0"
},
"devDependencies": {
@@ -73,8 +72,6 @@
"eslint-plugin-sonarjs": "^0.13.0",
"expo-cli": "^4.13.0",
"prettier": "^2.6.1",
"sharp": "^0.29.3",
"sharp-cli": "^1.15.0",
"typescript": "~4.6.0"
},
"private": true,