-
Notifications
You must be signed in to change notification settings - Fork 338
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
Showing CustomerCenterView() crashes the app since my rollout today #4790
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
@ikemuc how are you showing I assume you're using it straight away, but I wonder if you're wrapping it inside a |
This is the code currently: ` struct CustomerCenterSheetView: View {
} |
Even simpler - This is enough:
|
Some more research: The crash also happens, when I build my App with purchases-ios 5.14.0 (the first version with CustomerCenterView). I tried somethings else: => Could this be a RevenueCat server problem? It looks like this, because my earlier app versions, which were working without any problems now show this strange "Update" warning... |
I tried it: BTW: I reduced the pressure on me by replacing CustomerCenterView() with my old code in a nightly emergency rollout of a new version of SunOnly. So for me the fix isn't time critical any more... |
Stacktrace is:
|
@ikemuc would it be too much to ask for the logs =)?
|
@ikemuc for the heads up, you can disable the update warning from the dashboard. ![]() |
Ah, I thought that CustomerCenterView() displays this message because of a necessary update of RevenueCat software... Now I understand the message... Would disabling the warning message in the dashboard prevent the crash? |
I don't think it's related tbh. Just so you know you can disable it :) Whenever you have the logs, please also attach the user ID. That will narrow down the issue 🙏 @ikemuc |
Here comes the log with verbose loglevel. |
Yep, I tried switching of the update warning. It still crashes... |
Since today's launch of my App in the Apple App Store, whenever you want to show CustomerCenterView(), my App crashes immediately.
When I go back to former versions, no crash happens, but instead of the regular CustomerCenterView I see a message "Update verfügbar. Bitte die App aktualisieren, damit alles korrekt funktioniert." (Translated: "Update available. Please update the app to ensure everything works correctly.") Below there are 2 buttons, one to Upgrade, which leads to my app's App Store page, and the other to continue. When I press continue in the old versions, the regular customer center appears.
But as I said: With my new version it crashes immediately.
Environment
.with(storeKitVersion: .storeKit1)
)Apple released my App in the new version and all of my devices (3) and all of the simulators crash.
Debug logs that reproduce the issue. Complete logs with
Purchases.logLevel = .verbose
will help us debug this issue.Call a SwiftUI View, which includes CustomerCenterView(). It should open and display the data. But it crashes the whole app.
The text was updated successfully, but these errors were encountered: