Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
883 B
1
Indexable
please check below code it will solve  test device issue.


please add code in android manifest file.
<intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data android:scheme="tealivepx" />
            </intent-filter>




THis neds to be add in main activity oncreatre() function.

Hansel.pairTestDevice(getIntent().getDataString());




<meta-data
        android:name="SMT_APP_ID"
        android:value="0972a40d42ba70e6aad8edc4029a0dc8"/>

    <meta-data
        android:name="HANSEL_APP_ID"
        android:value="7UBRLFGOL99G6MR3T0KCXGJHB" />

  <meta-data
        android:name="HANSEL_APP_KEY"
        android:value="5D87NPTJWNGNJN7IZ3DDIGQC828NFF9J1LQOO6I2JN39YPJEVG" />