Post

Replies

Boosts

Views

Activity

didReceive(_ payloads: [MXDiagnosticPayload]) method not invoked when using Simulate MetricKit Payloads in Xcode 14.0.1
I want to obtain the hanging diagnostics for my app. In order to simulate receiving them I use Debug > Simulate MetricKit Payloads in Xcode (14.0.1, 14A400), but the didReceive(_ payloads: [MXDiagnosticPayload]) method is not invoked. It works for the didReceive(_ payloads: [MXMetricPayload]) method. Is this a correct behavior? If so, how can I simulate receiving the diagnostic payloads?
1
1
1.8k
Dec ’22
Transferring app that uses Sign in with Apple
I'm planning to transfer my app that uses Sign in with Apple from one development team to another (both are mine). I read https://developer.apple.com/documentation/sign_in_with_apple/transferring_your_apps_and_users_to_another_team and https://developer.apple.com/documentation/sign_in_with_apple/bringing_new_apps_and_users_into_your_team but still don't understand what the migration process should look like. At first I thought that I could exchange the identifiers for all my users on my backend's side (using /auth/usermigrationinfo), right after the transfer is completed. The problem I see is that in this case my app won't be informed about the new user identifier. I store it in a device's Keychain because I need it later to check the credential state via https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidprovider/3175423-getcredentialstate. If I've understood correclty, this method, called with the "old" user identifier param, after 60 days, starts returning an error or the notFound state. So I have to update this at some point. Okay, the second idea is to re-log silently all my users when they run my app after the transfer (as described at the bottom of this article: https://developer.apple.com/documentation/sign_in_with_apple/bringing_new_apps_and_users_into_your_team). But I can see another problem in here: someone may not run my app within 60 days. How should I approach this problem? I think this can be quite a common issue for a lot of developers. Thomas
0
1
931
Apr ’22
Should I carry out the SIWA users migration when app is transferred within the same account?
My app uses Sign in with Apple. I want to transfer it from one organization (development team) to another but within the same account. The app will use the same backend. Is this scenario, in terms of the migration process, different from the one when my app is transferred to another account? Should I carry out the migration exactly as described in this article https://developer.apple.com/documentation/sign_in_with_apple/transferring_your_apps_and_users_to_another_team?
0
0
693
Apr ’22
didReceive(_ payloads: [MXDiagnosticPayload]) method not invoked when using Simulate MetricKit Payloads in Xcode 14.0.1
I want to obtain the hanging diagnostics for my app. In order to simulate receiving them I use Debug > Simulate MetricKit Payloads in Xcode (14.0.1, 14A400), but the didReceive(_ payloads: [MXDiagnosticPayload]) method is not invoked. It works for the didReceive(_ payloads: [MXMetricPayload]) method. Is this a correct behavior? If so, how can I simulate receiving the diagnostic payloads?
Replies
1
Boosts
1
Views
1.8k
Activity
Dec ’22
Transferring app that uses Sign in with Apple
I'm planning to transfer my app that uses Sign in with Apple from one development team to another (both are mine). I read https://developer.apple.com/documentation/sign_in_with_apple/transferring_your_apps_and_users_to_another_team and https://developer.apple.com/documentation/sign_in_with_apple/bringing_new_apps_and_users_into_your_team but still don't understand what the migration process should look like. At first I thought that I could exchange the identifiers for all my users on my backend's side (using /auth/usermigrationinfo), right after the transfer is completed. The problem I see is that in this case my app won't be informed about the new user identifier. I store it in a device's Keychain because I need it later to check the credential state via https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidprovider/3175423-getcredentialstate. If I've understood correclty, this method, called with the "old" user identifier param, after 60 days, starts returning an error or the notFound state. So I have to update this at some point. Okay, the second idea is to re-log silently all my users when they run my app after the transfer (as described at the bottom of this article: https://developer.apple.com/documentation/sign_in_with_apple/bringing_new_apps_and_users_into_your_team). But I can see another problem in here: someone may not run my app within 60 days. How should I approach this problem? I think this can be quite a common issue for a lot of developers. Thomas
Replies
0
Boosts
1
Views
931
Activity
Apr ’22
Should I carry out the SIWA users migration when app is transferred within the same account?
My app uses Sign in with Apple. I want to transfer it from one organization (development team) to another but within the same account. The app will use the same backend. Is this scenario, in terms of the migration process, different from the one when my app is transferred to another account? Should I carry out the migration exactly as described in this article https://developer.apple.com/documentation/sign_in_with_apple/transferring_your_apps_and_users_to_another_team?
Replies
0
Boosts
0
Views
693
Activity
Apr ’22