aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-07-14 10:33:45 -0400
committerBrian Kim <brian@tagg.id>2021-07-14 10:33:45 -0400
commit7b79ab3e33a6df14394537b1050019db46f670e0 (patch)
tree78e28e87efb4ecd92de2c3aba1ed0864d47aff74
parente890381389d07ef2a194536268508c9dde5a2828 (diff)
Working on code cleanup
-rw-r--r--ios/Frontend.xcodeproj/project.pbxproj27
-rw-r--r--ios/Frontend/Info.plist8
-rw-r--r--src/components/comments/ZoomInCropper.tsx4
-rw-r--r--src/utils/camera.ts2
4 files changed, 11 insertions, 30 deletions
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 @@
</dict>
</dict>
</dict>
- <key>NSCameraUsageDescription</key>
- <string>Enable camera access to capture and share moment with your friends</string>
<key>NSContactsUsageDescription</key>
<string>This helps you quickly get in touch with friends on the app and more</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>NSMainNibFile</key>
<string>LaunchScreen</string>
- <key>NSMicrophoneUsageDescription</key>
- <string>Enable microphone access to record and listen to videos</string>
- <key>NSPhotoLibraryAddUsageDescription</key>
- <string>This lets you save photos captured on Tagg, to your library</string>
- <key>NSPhotoLibraryUsageDescription</key>
- <string>This lets you share photos from your library and select profile displays</string>
<key>UIAppFonts</key>
<array>
<string>Feather.ttf</string>
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);
}
})