capawesome-team / capacitor-plugins

⚡️ Community plugins for Capacitor. Supports Android, iOS and the Web.
https://capawesome.io/plugins/
236 stars 40 forks source link

feat: add `app-review` plugin #320

Open robingenz opened 1 week ago

robingenz commented 1 week ago

Name

App Review

Platform(s)

Description

I need a Capacitor plugin that offers me the following two features:

  1. Request an app review from within the app.
  2. Open the app store so that the user can submit a review there.

The types could look like this:

export interface AppReviewPlugin {
  /**
   * Open the App Store page for the current app and, if possible, open the dialog to leave a review.
   * 
   * Only available on Android and iOS.
   * 
   * @since 6.0.0
   */
    openAppStore(): Promise<void>;
  /**
   * Request an in-app review.
   * 
   * Only available on Android and iOS.
   * 
   * @since 6.0.0
   */
    requestReview(): Promise<void>;
}

If someone wants to work on this issue, please let me know before starting. I will then create the boilerplate code first so that you only have to create the actual implementation.

Additional context

No response

Before submitting

mertyldrr commented 5 days ago

hi @robingenz, I'd like to work on this if possible :)

robingenz commented 5 days ago

Awesome, thank you! 🙏🏻 I will create the boilerplate code for you tomorrow.