remove logs
This commit is contained in:
parent
58ddd9391d
commit
babff7b301
|
@ -55,8 +55,6 @@ Future<void> initializeApp() async {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> foregroundHandleMessage(RemoteMessage message) async {
|
Future<void> foregroundHandleMessage(RemoteMessage message) async {
|
||||||
log('Foreground message received: ${message.data['click_action']}');
|
|
||||||
|
|
||||||
if (message.data['click_action'] == 'enroll_cond') {
|
if (message.data['click_action'] == 'enroll_cond') {
|
||||||
AppState().haveLocal = true;
|
AppState().haveLocal = true;
|
||||||
AppState().context!.go('/homePage');
|
AppState().context!.go('/homePage');
|
||||||
|
@ -70,7 +68,6 @@ Future<void> foregroundHandleMessage(RemoteMessage message) async {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> _backgroundHandleMessage(RemoteMessage message) async {
|
Future<void> _backgroundHandleMessage(RemoteMessage message) async {
|
||||||
log('Background message received: ${message.data}');
|
|
||||||
if (message.data['click_action'] == 'enroll_cond') {
|
if (message.data['click_action'] == 'enroll_cond') {
|
||||||
AppState().haveLocal = true;
|
AppState().haveLocal = true;
|
||||||
AppState().context!.go('/homePage');
|
AppState().context!.go('/homePage');
|
||||||
|
|
Loading…
Reference in New Issue