Skip to content

Commit

Permalink
feat(features/home/details): download c2pa file
Browse files Browse the repository at this point in the history
Update the share menu in the asset detail page as follows:
- Add "Download C2PA" (new option)
- Change "View asset profile" to "View Blockchain Proof"
  (old: View asset profile)
- Change "Share Asset Profile" to "Share Blockchain Proof"
  (current: Share Asset Profile)
- Change "Copy IPFS address" to "Copy Nid" (current: Copy IPFS address)
  • Loading branch information
olgahaha committed May 10, 2024
1 parent 245ca26 commit 8434138
Show file tree
Hide file tree
Showing 10 changed files with 586 additions and 119 deletions.
4 changes: 4 additions & 0 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; };
504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; };
504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; };
775D86C92BEA01B700806515 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 775D86C82BEA01B700806515 /* PrivacyInfo.xcprivacy */; };
A084ECDBA7D38E1E42DFC39D /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */; };
DE095D00277AF00900242276 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DE095CFF277AF00900242276 /* GoogleService-Info.plist */; };
DE28999027B790A900F6581C /* public in Resources */ = {isa = PBXBuildFile; fileRef = DE28998F27B790A900F6581C /* public */; };
Expand All @@ -30,6 +31,7 @@
504EC30E1FED79650016851F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
775D86C82BEA01B700806515 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
DE095CFF277AF00900242276 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -65,6 +67,7 @@
504EC2FB1FED79650016851F = {
isa = PBXGroup;
children = (
775D86C82BEA01B700806515 /* PrivacyInfo.xcprivacy */,
DE2706742854C3960046512E /* Configuration.storekit */,
504EC3061FED79650016851F /* App */,
504EC3051FED79650016851F /* Products */,
Expand Down Expand Up @@ -175,6 +178,7 @@
504EC30D1FED79650016851F /* Main.storyboard in Resources */,
2FAD9763203C412B000D30F8 /* config.xml in Resources */,
DE095D00277AF00900242276 /* GoogleService-Info.plist in Resources */,
775D86C92BEA01B700806515 /* PrivacyInfo.xcprivacy in Resources */,
DE28999027B790A900F6581C /* public in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
12 changes: 6 additions & 6 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PODS:
- AppsFlyerFramework (6.12.1):
- AppsFlyerFramework/Main (= 6.12.1)
- AppsFlyerFramework/Main (6.12.1)
- Capacitor (5.0.5):
- Capacitor (5.7.5):
- CapacitorCordova
- CapacitorApp (5.0.3):
- Capacitor
Expand All @@ -26,7 +26,7 @@ PODS:
- Capacitor
- CapacitorCommunityWifi (0.0.1):
- Capacitor
- CapacitorCordova (5.0.5)
- CapacitorCordova (5.7.5)
- CapacitorDevice (5.0.4):
- Capacitor
- CapacitorFilesystem (5.0.4):
Expand All @@ -47,7 +47,7 @@ PODS:
- Capacitor
- CapacitorStorage (1.2.4):
- Capacitor
- CordovaPlugins (5.0.5):
- CordovaPlugins (5.7.5):
- CapacitorCordova
- Firebase/CoreOnly (10.14.0):
- FirebaseCore (= 10.14.0)
Expand Down Expand Up @@ -212,7 +212,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
AppsflyerCapacitorPlugin: 0094cd9f754091410f30237ab7f21b2604db12f5
AppsFlyerFramework: e29b63fc5441400a38a31c5501c1da500b9d53d0
Capacitor: b1248915663add1bd6567e2b67c1c1fa3abcf5e8
Capacitor: 7d42085cb786b2d3ea9ac8a17ebd7e3305be7b72
CapacitorApp: 7a5dec8b33573707164b293475d5c89ba684364a
CapacitorBlobWriter: 110eeaf80611f19bf01a8a05ff3672149ed0baad
CapacitorBrowser: 2688852d02f1e89560a31b70521c71a5e7348860
Expand All @@ -222,7 +222,7 @@ SPEC CHECKSUMS:
CapacitorCommunityBluetoothLe: 7de4f21022a05b15195abfb002872884d00715fc
CapacitorCommunityHttp: 7be90668527ef14ee10d08135b0e00fac9cf8247
CapacitorCommunityWifi: 47188c74f2c6bcaefb619380863be8c67b1917c8
CapacitorCordova: f8c06b897c74ee8f7701fe10e6443b40822bc83a
CapacitorCordova: c946a6052b547e1e185fc46862003f7b9130ead1
CapacitorDevice: eb4b5e3b42ac35d2527f20aad296b59e0785dc8d
CapacitorFilesystem: e1bdfab09b95b181c844c16abcfda45ec8e8ed6b
CapacitorGeolocation: 33015be1ef496585a60da9efa1c5642ff8624db3
Expand All @@ -233,7 +233,7 @@ SPEC CHECKSUMS:
CapacitorShare: 427bba238a1e3f116b2b349019aec6ea7f42cebd
CapacitorSplashScreen: 93a389d4f7673c08214ae25bb6f21d867d5305c5
CapacitorStorage: 8ec2cf8fec179d829288b16c6fba6c3c43d2bdc9
CordovaPlugins: c905b3b4dfc87d2a11bdbdaf396289c4a22c39dd
CordovaPlugins: 99eaff153de2b294dcca53aa61ca5b9eb3b31043
Firebase: 6c1bf3f534bc422d52af2e41fe0d50bf08b6b773
FirebaseCore: 6fc17ac9f03509d51c131298aacb3ee5698b4f02
FirebaseCoreInternal: d558159ee6cc4b823c2296ecc193de9f6d9a5bb3
Expand Down
17 changes: 17 additions & 0 deletions ios/App/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
</dict>
</plist>
Loading

0 comments on commit 8434138

Please sign in to comment.