Reputation: 105
When using (neura sdk) to detect where the user was, and what he/she's been doing 30 minutes ago.
We've followed their guide for interacting with neara, and managed to authenticate with Neura successfully.
For our server side, we need to use neura's api request for receiving the user's situation. The problem is that we don't have the accessToken as described in the link.
Were do i get this accessToken from ?
Upvotes: 4
Views: 75
Reputation: 4240
You can take it from : SDKUtils
mNeuraApiClient is an instance of com.neura.standalonesdk.service
import com.neura.standalonesdk.util;
SDKUtils.isConnected(getApplicationContext(), mNeuraApiClient);
Upvotes: 2