0

firebase_messaging gives MISSING_INSTANCEID_SERVICE error. This is due to the fact that the device does not have Google services.

There are many solutions, but on pure android. Are there any solutions on Dart?

Is there any way to check if Google play is available on the device without using the library?

sergey_s
  • 113
  • 11

1 Answers1

0

If you don't want to use lib, you can use method channel to call native code check, refer native code here

Xuuan Thuc
  • 2,340
  • 1
  • 5
  • 22