Skip to main content
Skip table of contents

Setting up the build configuration

Operator Vault

Place the Operator Vault (usually named opvault.json) in the project's main/res/raw folder.

Player Access Kernel (PAK) library files

The two cpak library files (<package-version>-cpakjava.securestorageagent-<cpak-version>.jar and <package-version>-cpak-<cpak-version>.jar) should be placed, alongside the NMP SDK and other required libraries, in the project's lib folder.

Application Manifest

The project's src/main/AndroidManifest.xml file should have the following permissions declared inside the manifest tag:

XML
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

build.gradle

The application's build.gradle file should include the libraries specified above in the dependencies section:

GROOVY
dependencies {
    :
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    :
}

Next step:   Getting phone permissions

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.