Skip to content
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

Android: not receiving data while using test key #11

Open
josh-m-sharpe opened this issue Jun 1, 2020 · 0 comments
Open

Android: not receiving data while using test key #11

josh-m-sharpe opened this issue Jun 1, 2020 · 0 comments

Comments

@josh-m-sharpe
Copy link

If I set io.branch.sdkTestMode to true then my app doesn't seem to receive any data when opening a link. All it receives is this:
{"referringParams":{"+clicked_branch_link":false,"+is_first_session":false}}
I've triple checked the keys I'm using, and have set the TestMode meta-data key to true. Anything else I'm missing?

Googling around a bit it seems Branch has had issues with this in the past (2017), but I didn't find anything recent.

I'm still able to develop with the live key. But being able to use the test key would be ideal.

strings.xml

<string name="branch_key">LIVE_KEY</string>
<string name="branch_test_key">TEST_KEY</string>

manifest:

<meta-data android:name="io.branch.sdk.BranchKey" android:value="@string/branch_key" />
<meta-data android:name="io.branch.sdk.BranchKey.test" android:value="@string/branch_test_key" />
<meta-data android:name="io.branch.sdk.TestMode" android:value="true" /> <!-- Set to true to use test key -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant