Upon digging I found there are a bunch of values that need to be set in the setGoParams() method in StartupActivity.java. I'm guessing not having them set caused the null pointer. Here's the method...
private void setGoParams() { /** * These should be provided to you. */ mGoApiKey = "<put your key here>"; mGoSecret = "<put your secret here>"; /** * App ID found in developer portal app settings. * App secret found in developer portal app settings. */ mOAuthClientId = "<put your Client ID here>"; mOAuthClientSecret = "<put your secret here>"; /** * Update the URLs accordingly based on the environment you want to point to * e.g. sandbox.dev.clover.com or www.clover.com */ mOAuthEnv = "www.clover.com"; mOAuthUrl = "https://clover.com/oauth/authorize?client_id=" + mOAuthClientId + "&response_type=code"; mOAuthTokenUrl = "https://clover.com/oauth/authorize?client_id=" + mOAuthClientId + "&response_type=token"; /** * This is used for demo purposes. You can generate an access token and hardcode it here so * that you can use the same access token repeatedly. */ mGoAccessToken = "<put your token here>"; /** * This is not required and is intended for demo purposes only. Each client needs to have their * own implementation of getting the access token using the code generated by Clover. */ mOAuthApiKey = "<put your key here>"; }
I'm pretty sure I have tracked them all down in my developer account, except for the first two - mGoApiKey and mGoSecret. The comment says "These should be provided to you."
Provided where or by whom?