From f12996bfd3bcdd9ae0589e4fd4ca740705ad6d29 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Fri, 9 Jul 2021 12:10:24 -0400 Subject: Basic start --- ios/Podfile.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ios') diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 35f67154..2e5c7d64 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -341,13 +341,13 @@ PODS: - React-Core - react-native-contacts (6.0.5): - React-Core - - react-native-date-picker (3.3.1): + - react-native-date-picker (3.3.2): - React-Core - - react-native-document-picker (5.1.0): + - react-native-document-picker (5.2.0): - React-Core - react-native-image-picker (4.0.4): - React-Core - - react-native-image-resizer (1.4.4): + - react-native-image-resizer (1.4.5): - React-Core - react-native-netinfo (6.0.0): - React-Core @@ -455,7 +455,7 @@ PODS: - React-Core - React-RCTImage - TOCropViewController - - RNInAppBrowser (3.5.1): + - RNInAppBrowser (3.6.3): - React-Core - RNReactNativeHapticFeedback (1.11.0): - React-Core @@ -772,10 +772,10 @@ SPEC CHECKSUMS: react-native-camera: 7bf59f2728ffb019fa25e60a225d2c57e1a8f0f6 react-native-cameraroll: 88f4e62d9ecd0e1f253abe4f685474f2ea14bfa2 react-native-contacts: 931baebf460125c5a7bbce1c4521a96c69795123 - react-native-date-picker: 2dfef0fcb6c36d078bc62f5de3ca79eff7f42486 - react-native-document-picker: f2f73db94328c84e22144e369fb4a3ede47bc1f5 + react-native-date-picker: 96a07ca27a6225da8a3935324d85046028456b0f + react-native-document-picker: f1b5398801b332c77bc62ae0eae2116f49bdff26 react-native-image-picker: c07b072faa83f3480b473a15ea3c19cc39b3d6fa - react-native-image-resizer: 13ac4af788f88af36d0353a1324401ebabd04fe4 + react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f react-native-netinfo: e849fc21ca2f4128a5726c801a82fc6f4a6db50d react-native-photo-manipulator: e44c14a28bf7c9b7657a0e0ac79327c1a4d8fe2c react-native-safe-area-context: f0906bf8bc9835ac9a9d3f97e8bde2a997d8da79 @@ -801,7 +801,7 @@ SPEC CHECKSUMS: RNFS: 3ab21fa6c56d65566d1fb26c2228e2b6132e5e32 RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211 RNImageCropPicker: 35a3ceb837446fa11547704709bb22b5fac6d584 - RNInAppBrowser: 48b95ba7a4eaff5cc223bca338d3e319561dbd1b + RNInAppBrowser: 3ff3a3b8f458aaf25aaee879d057352862edf357 RNReactNativeHapticFeedback: 653a8c126a0f5e88ce15ffe280b3ff37e1fbb285 RNReanimated: b9c929bfff7dedc9c89ab1875f1c6151023358d9 RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d -- cgit v1.2.3-70-g09d2 From 7b79ab3e33a6df14394537b1050019db46f670e0 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Wed, 14 Jul 2021 10:33:45 -0400 Subject: Working on code cleanup --- ios/Frontend.xcodeproj/project.pbxproj | 27 +++++++++++---------------- ios/Frontend/Info.plist | 8 -------- src/components/comments/ZoomInCropper.tsx | 4 ---- src/utils/camera.ts | 2 -- 4 files changed, 11 insertions(+), 30 deletions(-) (limited to 'ios') diff --git a/ios/Frontend.xcodeproj/project.pbxproj b/ios/Frontend.xcodeproj/project.pbxproj index ce1492da..af943815 100644 --- a/ios/Frontend.xcodeproj/project.pbxproj +++ b/ios/Frontend.xcodeproj/project.pbxproj @@ -475,22 +475,20 @@ TargetAttributes = { 00E356ED1AD99517003FC87E = { CreatedOnToolsVersion = 6.2; - DevelopmentTeam = VQ6D29Y5N7; - ProvisioningStyle = Automatic; + DevelopmentTeam = CA2JXDK7RB; TestTargetID = 13B07F861A680F5B00A75B9A; }; 13B07F861A680F5B00A75B9A = { DevelopmentTeam = VQ6D29Y5N7; - LastSwiftMigration = 1250; + LastSwiftMigration = 1250; ProvisioningStyle = Automatic; }; 2D02E47A1E0B4A5D006451C7 = { CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Manual; + ProvisioningStyle = Automatic; }; 2D02E48F1E0B4A5D006451C7 = { CreatedOnToolsVersion = 8.2.1; - DevelopmentTeam = VQ6D29Y5N7; ProvisioningStyle = Automatic; TestTargetID = 2D02E47A1E0B4A5D006451C7; }; @@ -971,10 +969,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_IDENTITY = "Apple Development"; - "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = VQ6D29Y5N7; + DEVELOPMENT_TEAM = CA2JXDK7RB; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -1005,7 +1000,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - DEVELOPMENT_TEAM = VQ6D29Y5N7; + DEVELOPMENT_TEAM = CA2JXDK7RB; INFOPLIST_FILE = FrontendTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; @@ -1032,7 +1027,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = VQ6D29Y5N7; + DEVELOPMENT_TEAM = FZ5J543S6Y; ENABLE_BITCODE = NO; GCC_PREPROCESSOR_DEFINITIONS = ( "$(inherited)", @@ -1046,7 +1041,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = FZ5J543S6Y; + PRODUCT_BUNDLE_IDENTIFIER = com.taggid.taggid; PRODUCT_NAME = Frontend; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "RNVideoProcessing/Frontend-Bridging-Header.h"; @@ -1065,7 +1060,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = VQ6D29Y5N7; + DEVELOPMENT_TEAM = FZ5J543S6Y; INFOPLIST_FILE = Frontend/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -1074,7 +1069,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = FZ5J543S6Y; + PRODUCT_BUNDLE_IDENTIFIER = com.taggid.taggid; PRODUCT_NAME = Frontend; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "RNVideoProcessing/Frontend-Bridging-Header.h"; @@ -1105,7 +1100,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = FZ5J543S6Y; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.Frontend-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = appletvos; @@ -1136,7 +1131,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = FZ5J543S6Y; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.Frontend-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = appletvos; diff --git a/ios/Frontend/Info.plist b/ios/Frontend/Info.plist index bf077fca..8e1ae927 100644 --- a/ios/Frontend/Info.plist +++ b/ios/Frontend/Info.plist @@ -48,20 +48,12 @@ - NSCameraUsageDescription - Enable camera access to capture and share moment with your friends NSContactsUsageDescription This helps you quickly get in touch with friends on the app and more NSLocationWhenInUseUsageDescription NSMainNibFile LaunchScreen - NSMicrophoneUsageDescription - Enable microphone access to record and listen to videos - NSPhotoLibraryAddUsageDescription - This lets you save photos captured on Tagg, to your library - NSPhotoLibraryUsageDescription - This lets you share photos from your library and select profile displays UIAppFonts Feather.ttf diff --git a/src/components/comments/ZoomInCropper.tsx b/src/components/comments/ZoomInCropper.tsx index c20bab67..5f14522e 100644 --- a/src/components/comments/ZoomInCropper.tsx +++ b/src/components/comments/ZoomInCropper.tsx @@ -339,8 +339,6 @@ const styles = StyleSheet.create({ backgroundColor: 'black', height: SCREEN_HEIGHT, width: SCREEN_WIDTH, - // flexDirection: 'column', - // justifyContent: 'center', }, closeButton: { position: 'absolute', @@ -375,7 +373,5 @@ const styles = StyleSheet.create({ zoomView: { backgroundColor: 'black', flex: 1, - // borderColor: 'pink', - // borderWidth: 2, }, }); diff --git a/src/utils/camera.ts b/src/utils/camera.ts index 8c05355f..15758112 100644 --- a/src/utils/camera.ts +++ b/src/utils/camera.ts @@ -91,8 +91,6 @@ export const navigateToVideoPicker = (callback: (vid: Video) => void) => { }) .then(async (vid) => { if (vid.path) { - ProcessingManager.compress(vid.path, options.compress) // like VideoPlayer compress options - .then((data: any) => console.log(data)); callback(vid); } }) -- cgit v1.2.3-70-g09d2 From 1b9059d49532eacb60bf36b25771df42541670f4 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Wed, 14 Jul 2021 11:28:06 -0400 Subject: Clean up code round 2 --- ios/Frontend.xcodeproj/project.pbxproj | 3 --- src/components/comments/ZoomInCropper.tsx | 42 +++++++++++++++++-------------- src/screens/moments/CameraScreen.tsx | 6 ----- src/screens/profile/CaptionScreen.tsx | 1 - 4 files changed, 23 insertions(+), 29 deletions(-) (limited to 'ios') diff --git a/ios/Frontend.xcodeproj/project.pbxproj b/ios/Frontend.xcodeproj/project.pbxproj index af943815..0cf0957b 100644 --- a/ios/Frontend.xcodeproj/project.pbxproj +++ b/ios/Frontend.xcodeproj/project.pbxproj @@ -1090,7 +1090,6 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CODE_SIGN_STYLE = Manual; DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = ""; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Frontend-tvOS/Info.plist"; @@ -1122,7 +1121,6 @@ CODE_SIGN_STYLE = Manual; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Frontend-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -1150,7 +1148,6 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = VQ6D29Y5N7; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Frontend-tvOSTests/Info.plist"; diff --git a/src/components/comments/ZoomInCropper.tsx b/src/components/comments/ZoomInCropper.tsx index 43c4c6ff..6f8ff97c 100644 --- a/src/components/comments/ZoomInCropper.tsx +++ b/src/components/comments/ZoomInCropper.tsx @@ -35,7 +35,7 @@ export const ZoomInCropper: React.FC = ({ const [aspectRatio, setAspectRatio] = useState(1); // width and height of video, if video const [origDimensions, setOrigDimensions] = useState([0, 0]); - const vidRef = useRef