lschmierer / android_play_install_referrer

A Flutter plugin for the Android Play Install Referrer API.
BSD 2-Clause "Simplified" License
21 stars 21 forks source link

PlatformException(PERMISSION_ERROR, App is not allowed to bind to the Service., null, null) #22

Closed wl1395182472 closed 2 years ago

wl1395182472 commented 2 years ago

PlatformException(PERMISSION_ERROR, App is not allowed to bind to the Service., null, null) image image image flutter doctor is normal

lschmierer commented 2 years ago

Hi, on what device are you getting this error?

Does this also happen in the example app?

wl1395182472 commented 2 years ago

Hi, on what device are you getting this error?

Does this also happen in the example app?

it happens at android,i have not tried the example app

lschmierer commented 2 years ago

This sounds like an issue on the device itself (which manufacturer? are Play services available?).

You can e.g. check if this app on the Play Store works with your device https://play.google.com/store/apps/details?id=com.normsdev.install.referrer&hl=de&gl=US

wl1395182472 commented 2 years ago

This sounds like an issue on the device itself (which manufacturer? are Play services available?).

You can e.g. check if this app on the Play Store works with your device https://play.google.com/store/apps/details?id=com.normsdev.install.referrer&hl=de&gl=US

thank you ,it works

lschmierer commented 2 years ago

This indicates, that this is in fact an issue with this library.

Unfortunately, currently I have no idea what should have gone wrong 🤔

wl1395182472 commented 2 years ago

it is my fault.it is about android permission. image

wl1395182472 commented 2 years ago

it is my fault.it is about android permission. image

com.google.android.c2dm.permission.RECEIVE com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE

lschmierer commented 2 years ago

@wl1395182472 may I ask, why have your removed those permissions in the first place?

I am gonna close this issue as it seems to be resolved