-
Notifications
You must be signed in to change notification settings - Fork 146
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: Uncaught Error: API request /v1/profile missing parameter identity_id #40
Comments
Hi @Gp2mv3 - That's quite strange.
Lastly, how did you add the module? NPM or from the Github repo? |
Hi, thanks for this fast answer. The init is done like this:
Where Config.branchKey is the test key. Then the url generation is done via
I installed the plugin via ionic plugin add https://github.com/BranchMetrics/Cordova-Ionic-PhoneGap-Deferred-Deep-Linking-SDK.git. Thanks ! |
Hmm.. that's right. I think debug mode was never implemented in this version. We're about to roll out an entirely new version of the Cordova SDK with all of this implemented properly. @Gp2mv3 And is this with the Test version of Nightspot? I see a few successful opens, and a link that was created in the live view. https://dashboard.branch.io/#/liveview/events/view This would indicate it's working some of the time...
|
Yes it's for NightSpot but I'm still getting this error and I What's weird is that I see in the Dashboard that I opened the app multiple times and that Identities are stored as well. I recognize my phone in the events. So maybe the error is a false alarm ? EDIT: By removing the CSP, the error disapeared but it's not really a good solution... |
Of, by enabling eval, it's working so it's the exact same issue as issue #30. |
Hi,
I'm trying to use Branch for my Ionic app but it's impossible... I receive this error when trying to set the identity or generating a link (this one is from setIdentity):
Uncaught Error: API request /v1/profile missing parameter identity_id
The init is done correctly as I don't receive any error. But what is strange here is that the result of the init function is an empty structure:
{"data":null,"data_parsed":null,"has_app":null,"identity":null,"referring_identity":null,"referring_link":null}
The init is done in $ionicPlatform.ready and the createUrl is done via a user action (so after init).
What am I doing wrong ?
Thanks !
The text was updated successfully, but these errors were encountered: