You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solved the error that occurred when the app starts. App starts, then onCreate is called, then onNavigationItemSelected(..) is called, then refreshView() is called because at this point publisherAccountId is null, which then calls apiController.loadAccounts() which has an invalid credential name because no account name was ever set.
The app was trying to loadaccounts from null user.
Change in MainActivity:
if ((apiController.getAccounts() == null) || (publisherAccountId == null)) {
status = AppStatus.GETTING_ACCOUNT_ID;
refreshView();
return true;
To:
if ((apiController.getAccounts() == null) && (publisherAccountId == null)) {
Solved the error that occurred when the app starts. App starts, then onCreate is called, then onNavigationItemSelected(..) is called, then refreshView() is called because at this point publisherAccountId is null, which then calls apiController.loadAccounts() which has an invalid credential name because no account name was ever set.
The app was trying to loadaccounts from null user.
Change in MainActivity:
To:
The text was updated successfully, but these errors were encountered: