requestAppReview()

アプリケーションのレビューを要請します。

構文 

1import { getAppReviewService } from 'lightning/mobileCapabilities';
2requestAppReview(options: AppReviewServiceOptions|null): Promise<Object>

パラメータ 

戻り値 

解決された Promise は、オブジェクトを返しません。

却下された Promise では、エラーに関する詳細が含まれる AppReviewServiceFailure オブジェクトが返されます。

使用方法 

この関数は、アプリケーションのレビューを要請します。

1myAppReviewService
2  .requestAppReview(null)
3  .then(() => {
4    console.log("App review request complete successfully");
5  })
6  .catch((error) => {
7    console.error(error);
8  });

関連トピック

The Japanese Summer '24 guide is now live

日本語の Summer '24 ガイドが公開されました! 「Component Reference (コンポーネントリファレンス)」は、以前と同様にコンポーネントライブラリにあります。