You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
@ionic-native/app-rate does not support all preferences provided by https://github.com/pushandplay/cordova-plugin-apprate. Specifically, the simpleMode preference is not supported by the Ionic plugin leading to unexpected behavior on Android devices. The Cordova plugin defaults simpleMode to false which presents the user with an additional prompt. If yesButtonLabel, noButtonLabel are not configured, this results in a prompt with null values
SimpleMode allows you bypass this 1st prompt, only requiring configuration for the original AppRate prompt.
Any attempt to set this property results in the following typescript compiling error:
Type '{ openStoreInApp: true; simpleMode: boolean; storeAppURL: { ios: any; android: any; }; customLoca...'
is not assignable to type 'AppRatePreferences'. Object literal may only specify known properties, and
'simpleMode' does not exist in type 'AppRatePreferences'.
Expected behavior:
It is expected that the Ionic plugin provide the same preferences as the Cordova plugin so it can properly be used.
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://ionicworldwide.herokuapp.com/
Current behavior:
@ionic-native/app-rate does not support all preferences provided by https://github.com/pushandplay/cordova-plugin-apprate. Specifically, the simpleMode preference is not supported by the Ionic plugin leading to unexpected behavior on Android devices. The Cordova plugin defaults simpleMode to false which presents the user with an additional prompt. If yesButtonLabel, noButtonLabel are not configured, this results in a prompt with null values
SimpleMode allows you bypass this 1st prompt, only requiring configuration for the original AppRate prompt.
Any attempt to set this property results in the following typescript compiling error:
Expected behavior:
It is expected that the Ionic plugin provide the same preferences as the Cordova plugin so it can properly be used.
Related code:
Other information:
https://github.com/pushandplay/cordova-plugin-apprate#options--preferences
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: