Skip to content

Home / Build / Build your Wallet / Android / Wallet Application Level

Run with Local Services

The first step is to ensure all three services are running locally on your machine, you can follow these Repositories for further instructions:

After this, assuming you have everything running locally, you need to change the contents of the ConfigWalletCoreImpl file from:

private companion object {
        const val VCI_ISSUER_URL = "https://dev.issuer.eudiw.dev"
        const val VCI_CLIENT_ID = "wallet-dev"
        const val AUTHENTICATION_REQUIRED = false
}
into something like this:
private companion object {
        const val VCI_ISSUER_URL = "local_IP_address_of_issuer"
        const val VCI_CLIENT_ID = "wallet-dev"
        const val AUTHENTICATION_REQUIRED = false
}

for example:

private companion object {
        const val VCI_ISSUER_URL = "https://192.168.1.1:5000"
        const val VCI_CLIENT_ID = "wallet-dev"
        const val AUTHENTICATION_REQUIRED = false
}

Finally, you also have to change the content of the network_security_config.xml file and allow HTTP traffic to this:

<network-security-config>
    <base-config cleartextTrafficPermitted="true" />
</network-security-config>