We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the past the config.xml was:
<branch-config> <android-prefix value="myapp" /> <ios-team-id value="12345678" /> <host name="myapp.app.link" scheme="https" /> <host name="myapp-alternate.app.link" scheme="https" /> </branch-config>
And everything worked fine. But you decided to change it in the last version. I tried:
<branch-config> <android-prefix value="myapp" /> <branch-key value="key_live_ABCDEFG..." /> <uri-scheme value="myapp" /> <link-domain value="myapp.app.link" /> <ios-team-prod value="12345678" /> <ios-team-release value="12345678" /> <ios-team-id value="12345678" /> <host name="myapp.app.link" scheme="https" /> <host name="myapp-alternate.app.link" scheme="https" /> </branch-config>
I got an error:
Error: BRANCH SDK: Invalid "android-prefix" in in your config.xml
What I'm doing wrong?
The text was updated successfully, but these errors were encountered:
Hello,
The only required values you need in your config.xml are: docs
config.xml
<!-- sample config.xml --> <widget id="com.eneff.branch.cordovatestbed" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <!-- Branch --> <plugin name="branch-cordova-sdk" spec="^2.5.0" /> <branch-config> <branch-key value="key_live_ndqptlgXNE4LHqIahH1WIpbiyFlb62J3" /> <uri-scheme value="branchcordova" /> <link-domain value="cordova.app.link" /> <ios-team-release value="PW4Q8885U7" /> </branch-config>
<android-prefix> is only needed if you have the legacy bnc.lt link domain. The format is /WSuf. docs
<android-prefix>
bnc.lt
/WSuf
If you are still having issues, you might need to reinstall Branch. docs
# terminal cordova plugin remove io.branch.sdk cordova plugin remove branch-cordova-sdk cordova build ios
Tell me if this fixes your issue.
Best,
Sorry, something went wrong.
No branches or pull requests
In the past the config.xml was:
And everything worked fine.
But you decided to change it in the last version.
I tried:
I got an error:
Error: BRANCH SDK: Invalid "android-prefix" in in your config.xml
What I'm doing wrong?
The text was updated successfully, but these errors were encountered: