onReady method
Called 1 frame after onInit(). It is the perfect place to enter navigation events, like snackbar, dialogs, or a new route, or async request.
Implementation
@override
void onReady() {
super.onReady();
debugPrint("#Mirrorfly Notification -> Main Controller push onReady");
Mirrorfly.getValueFromManifestOrInfoPlist(
androidManifestKey: "com.google.android.geo.API_THUMP_KEY",
iOSPlistKey: "API_THUMP_KEY")
.then((value) {
googleMapKey = value;
LogMessage.d("com.google.android.geo.API_THUMP_KEY", googleMapKey);
}).catchError((e) {
LogMessage.d("API_THUMP_KEY not found", e);
});
mediaEndpoint(SessionManagement.getMediaEndPoint().checkNull());
getMediaEndpoint();
currentAuthToken(SessionManagement.getAuthToken().checkNull());
getCurrentAuthToken();
getAvailableFeatures();
unreadMissedCallCount();
_removeBadge();
}