Khyati Modi
Khyati Modi

Reputation: 718

_firebaseMessaging.getToken() not working with some devices

_firebaseMessaging.getToken().then((token) {
      assert(token != null);
      deviceToken = token;
    });

Here is my function to get firebase token, which is working fine for most of android devices, having issue with old android devices. Here I am sharing detail of that device. Does anyone know what is the exact issue?

Redmi Note 4 Android version : 7.0 NRD90M MIUI Version : MIUI Global 11.0.2

Upvotes: 1

Views: 619

Answers (1)

Khyati Modi
Khyati Modi

Reputation: 718

It is issue with api, which is not working with android 7 platform. Its not about _firebaseMessaging.getToken()

Upvotes: -1

Related Questions