-
Notifications
You must be signed in to change notification settings - Fork 13
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
Ionic-native methods logging "INVALID options" #107
Comments
This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Please reach out if you have additional information to help us investigate further! |
I have the same issue... Besides showing these logs, methods like setEmail or setAttributes are not working... |
I have got the same issue. |
What exactly is your issue @timeisgolden ? Do you mind opening an issue with more details (logs, versions you're using, etc) Thanks! |
@vegaro Hello, thanks for your reply the below code is to set the attributes.
the Error message is the following on Xcode.
I am using the following versions
but that worked sometimes, I am not sure what I am missing. |
Apps running the ionic-native version of the SDK with Capacitor are receiving error logs on some Purchases method calls (see below). I've confirmed in a sample app that this occurs at least back to our 1.3.2 SDK, so my guess is some dependencies aren't lining up.
I tested with
setSubscriberAttributes
andsetDebugLogsEnabled
, and the requests still goes through to our native SDKs. Just unsure why we are getting these confusing logs.For example:
To Native Cordova -> PurchasesPlugin setDebugLogsEnabled INVALID ["options": [1]]
To Native Cordova -> PurchasesPlugin setAttributes INVALID ["options": [{
hey = hi;
}]]
Launch app, configure Purchases, and make calls to certain methods (seeing with at least setDebugLogs and setAttributes).
The text was updated successfully, but these errors were encountered: