capacitor-store-review
v1.1.1
Published
Store Review capacitor plugin
Downloads
7
Readme
capacitor-store-review
Store Review capacitor plugin
Available methods:
navigateToAppStore(): Promise<void>
requestReview(): Promise<void>
Usage example:
- In
capacitor.config.ts
(orcapacitor.config.json
)
plugins: {
StoreReview: {
appId: '1545567249'; // iTunes App ID.
}
}
- In your module (e.g.
app.module.ts
)
...
import { StoreReview } from 'capacitor-store-review'
@NgModule({
...
providers: [
...
StoreReview,
],
})
export class AppModule {}
- In your main component (e.g.
app.component.ts
)
...
import { StoreReview } from 'capacitor-store-review'
@Component()
export class AppComponent {
constructor(private storeReview: StoreReview) {}
someUserAction() {
this.storeReview.requestReview()
}
}
// TODO docs
BREAKING CHANGES in 1.x.x version
- Added support for Capacitor 5 and removed compatibility with Capacitor 3