We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde1f43 commit c181854Copy full SHA for c181854
packages/nativescript-in-app-review/index.android.ts
@@ -17,7 +17,7 @@ export class InAppReview extends InAppReviewCommon {
17
}
18
19
const reviewInfo = task.getResult();
20
- const flow = manager.launchReviewFlow(Application.android.foregroundActivity, reviewInfo);
+ const flow = manager.launchReviewFlow(Utils.android.getCurrentActivity(), reviewInfo);
21
22
flow.addOnCompleteListener(
23
new com.google.android.gms.tasks.OnCompleteListener({
0 commit comments