Cleanup
This commit is contained in:
@@ -2,7 +2,6 @@ import Realm from 'realm'
|
||||
import { LocalDate, ChronoUnit } from 'js-joda'
|
||||
import nodejs from 'nodejs-mobile-react-native'
|
||||
import fs from 'react-native-fs'
|
||||
import { restartApp } from './restart-app'
|
||||
|
||||
import schemas from './schemas'
|
||||
import cycleModule from '../lib/cycle'
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
// Current version of react-native-restart doesn't work with our ios setup
|
||||
// therefore we have a fork and use different libraries on the platforms
|
||||
import restart from 'react-native-restart'
|
||||
|
||||
export const restartApp = restart.Restart
|
||||
@@ -1,11 +0,0 @@
|
||||
// Current version of react-native-restart doesn't work with our ios setup
|
||||
// therefore we have a fork and use different libraries on the platforms
|
||||
import RNExitApp from 'react-native-exit-app-v2'
|
||||
import { Alert } from 'react-native'
|
||||
|
||||
export const restartApp = () => {
|
||||
Alert.alert('Closing app', 'App is shutting down. Please restart.')
|
||||
setTimeout(() => {
|
||||
RNExitApp.exitApp()
|
||||
}, 3000)
|
||||
}
|
||||
@@ -57,19 +57,6 @@
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXCopyFilesBuildPhase section */
|
||||
2B572382D4504B8FB4B9D251 /* Embed Frameworks */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 10;
|
||||
files = (
|
||||
);
|
||||
name = "Embed Frameworks";
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
|
||||
00E356EE1AD99517003FC87E /* dripTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = dripTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
@@ -525,7 +512,6 @@
|
||||
"${BUILT_PRODUCTS_DIR}/RCTTypeSafety/RCTTypeSafety.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/RNCPushNotificationIOS/RNCPushNotificationIOS.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/RNDateTimePicker/RNDateTimePicker.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/RNExitApp/RNExitApp.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/RNFS/RNFS.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/RNShare/RNShare.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/RNVectorIcons/RNVectorIcons.framework",
|
||||
@@ -552,7 +538,6 @@
|
||||
"${BUILT_PRODUCTS_DIR}/glog/glog.framework",
|
||||
"${PODS_ROOT}/../../node_modules/nodejs-mobile-react-native/ios/NodeMobile.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/react-native-document-picker/react_native_document_picker.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/react-native-restart/react_native_restart.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/react-native-simple-toast/react_native_simple_toast.framework",
|
||||
);
|
||||
name = "[CP] Embed Pods Frameworks";
|
||||
@@ -564,7 +549,6 @@
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTTypeSafety.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RNCPushNotificationIOS.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RNDateTimePicker.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RNExitApp.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RNFS.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RNShare.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RNVectorIcons.framework",
|
||||
@@ -591,7 +575,6 @@
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/glog.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NodeMobile.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/react_native_document_picker.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/react_native_restart.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/react_native_simple_toast.framework",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
||||
Generated
-10
@@ -8561,11 +8561,6 @@
|
||||
"resolved": "https://registry.npmjs.org/react-native-document-picker/-/react-native-document-picker-4.3.0.tgz",
|
||||
"integrity": "sha512-ygcY0ijlVuhxzdWnhqd917yMUFT9FF0b4CM81LWoY4/bpQYz5PGUdRAdh25kS0VA+cEUYNL2iI7OpHXq00epPA=="
|
||||
},
|
||||
"react-native-exit-app-v2": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/react-native-exit-app-v2/-/react-native-exit-app-v2-1.2.2.tgz",
|
||||
"integrity": "sha512-RWCfmus7h99M1aONqBnWG3g3TFRzKsmok6cLAuqN5NVQAxpcgzbJZgAryA/ADpmBrBP5EIJnCBFo64ApQGOZPw=="
|
||||
},
|
||||
"react-native-fs": {
|
||||
"version": "2.19.0",
|
||||
"resolved": "https://registry.npmjs.org/react-native-fs/-/react-native-fs-2.19.0.tgz",
|
||||
@@ -8600,11 +8595,6 @@
|
||||
"@react-native-community/push-notification-ios": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"react-native-restart": {
|
||||
"version": "0.0.18",
|
||||
"resolved": "https://registry.npmjs.org/react-native-restart/-/react-native-restart-0.0.18.tgz",
|
||||
"integrity": "sha512-AoEINeKuvj0yJY9I4GEbY27ifiVTo/2KhW2MnGeFgtjInfAvA9hgbGXjQO8xT2wQA9ZIzTgUQyyWC6yFiQeREA=="
|
||||
},
|
||||
"react-native-share": {
|
||||
"version": "3.8.5",
|
||||
"resolved": "https://registry.npmjs.org/react-native-share/-/react-native-share-3.8.5.tgz",
|
||||
|
||||
@@ -47,12 +47,10 @@
|
||||
"react-native": "0.61.0",
|
||||
"react-native-calendars": "^1.19.3",
|
||||
"react-native-document-picker": "^4.2.0",
|
||||
"react-native-exit-app-v2": "^1.2.2",
|
||||
"react-native-fs": "^2.19.0",
|
||||
"react-native-hyperlink": "0.0.19",
|
||||
"react-native-modal-datetime-picker": "8.0.0",
|
||||
"react-native-push-notification": "3.2.1",
|
||||
"react-native-restart": "0.0.18",
|
||||
"react-native-share": "^3.0.0",
|
||||
"react-native-simple-toast": "^1.1.3",
|
||||
"react-native-size-matters": "^0.4.0",
|
||||
|
||||
Reference in New Issue
Block a user