-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Privacy manifest #534
Privacy manifest #534
Conversation
|
a7f7a77
to
327246b
Compare
b7f8f39
to
db04ee8
Compare
I am having issues getting passed this:
What am I doing wrong? |
It worked with Anyway, I get a diff, do you get it too? diff --git a/apps/mobile-wallet/ios/Alephium.xcodeproj/project.pbxproj b/apps/mobile-wallet/ios/Alephium.xcodeproj/project.pbxproj
index 6a662ef37..b3cb3606d 100644
--- a/apps/mobile-wallet/ios/Alephium.xcodeproj/project.pbxproj
+++ b/apps/mobile-wallet/ios/Alephium.xcodeproj/project.pbxproj
@@ -15,6 +15,7 @@
96905EF65AED1B983A6B3ABC /* libPods-Alephium.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 58EEBF8E8E6FB1BC6CAF49B5 /* libPods-Alephium.a */; };
B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */; };
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; };
+ 6B096B42FB32404DB27C1C7C /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D4025BE02671404FB854B757 /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -33,6 +34,7 @@
BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-Alephium/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
+ D4025BE02671404FB854B757 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; name = "PrivacyInfo.xcprivacy"; path = "/Users/ilias/dev/alephium/alephium-frontend/apps/mobile-wallet/ios/Alephium/PrivacyInfo.xcprivacy"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -59,6 +61,7 @@
AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */,
98CAA98A22DC4D0892E6A61E /* noop-file.swift */,
8A111DCF41FA48C8BB6F8997 /* Alephium-Bridging-Header.h */,
+ D4025BE02671404FB854B757 /* PrivacyInfo.xcprivacy */,
);
name = Alephium;
sourceTree = "<group>";
@@ -202,6 +205,7 @@
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */,
+ 6B096B42FB32404DB27C1C7C /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
}; |
apps/mobile-wallet/app.config.js
Outdated
}, | ||
privacyManifests: { | ||
NSPrivacyAccessedAPITypes: [ | ||
{ | ||
NSPrivacyAccessedAPIType: 'NSPrivacyAccessedAPICategoryFileTimestamp', | ||
NSPrivacyAccessedAPITypeReasons: ['C617.1'] | ||
}, | ||
{ | ||
NSPrivacyAccessedAPIType: 'NSPrivacyAccessedAPICategoryDiskSpace', | ||
NSPrivacyAccessedAPITypeReasons: ['E174.1'] | ||
}, | ||
{ | ||
NSPrivacyAccessedAPIType: 'NSPrivacyAccessedAPICategorySystemBootTime', | ||
NSPrivacyAccessedAPITypeReasons: ['35F9.1'] | ||
}, | ||
{ | ||
NSPrivacyAccessedAPIType: 'NSPrivacyAccessedAPICategoryUserDefaults', | ||
NSPrivacyAccessedAPITypeReasons: ['CA92.1'] | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any resources on how you came to decide to add these? Not sure how to review this...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw you had posted a link to an expo issue somewhere but I can't find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, it was in the slack canvas
Yes, here. And I don't like that there's a local path in there..! |
Oh shit, you're right. It doesn't make sense to have a local path. So many questions...
|
TL;DR:
What process did you follow to decide which I understand that they want us to include reasons for the following API categories:
But I don't understand why the values To be honest, it feels weird to me that our app is accessing file timestamps, disk space, system boot time and user defaults. I don't think our code does any of that. But it's probably our outdated deps that do. Updated versions of the deps should include privacy files themselves. But I am hesitant to update them "manually" and not through It would be useful to know which packages are the ones that require these new privacy declarations. Maybe at the end of the day we don't need them or we can update them so that we use their privacy files. For example, I found out that Another is I read through the whole expo issue (what a read). I tried the following command:
and I get an interesting diff: adca479 A few things I notice there:
Point (4) seems important, WDYT? What the hell is going on!? |
In the installation docs of
So I tried all these options but in all cases I see that the wrong version of expo is being used:
From what I understand,
When I do EDIT: OK, I found out why |
If we want to release this before the dw secrets, we need to change the base branch from |
Reasons aren't final yet
... But we get a white screen with no logs.
Why is there a local path in there?..
6aa77da
to
3de1560
Compare
WIP: I get a white screen on iOS.Series of errors in the native logs:Invariant Violation: Failed to call into JavaScript module method RCTLog.logIfNoNativeHook(). Module has not been registered as callable. Bridgeless Mode: false. Registered callable JavaScript modules (n = 0): .A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
Edit: reanimated was the culprit. I had to downgrade it, to be investigated later. Hopefully this package doesn't need any of the privacy reasons.
EDIT ILIAS: Closes #489