jamesmontemagno / StoreReviewPlugin

Request app store reviews across Xamarin and Windows applications
MIT License
184 stars 24 forks source link

Review UI not showing up on public release, works on internal test #13

Closed CDrosos closed 3 years ago

CDrosos commented 3 years ago

Setup

Version Number of Plugin: 3 Device Tested On: Samsung S10e Android OS: 10 Package version used: 3.0.0-beta Android Package Format: Bundle

Bug

Running this code does not show review UI

MainThread.BeginInvokeOnMainThread(() =>
{ 
CrossStoreReview.Current.RequestReview(false);
}); 

What i have tried so far:

I have try with the following settings: 1) Linking : Sdk assemblies only Code shrinker : none Xamarin.Essentials.Platform.Init(this, savedInstanceState); is used on the MainActivity I have also try with skip linking assemblies and i have add the 3 assemblies from the readme. I have included the proguard file just in case although i don't use proguard

2) I have also tried with linking and code shrinker to none and internal publishing and i still don't see any UI

Maybe if it not possible to always show the UI to make the plugin open store page instead?

saamerm commented 3 years ago

Could you please share a simple sample with which you can replicate the issue. And ill try it on my end as well @CDrosos

CDrosos commented 3 years ago

@saamerm i have update these packages

<PackageReference Include="Xamarin.AndroidX.Activity">
      <Version>1.1.0.2</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.AppCompat">
      <Version>1.2.0.3</Version>
    </PackageReference>
<PackageReference Include="Xamarin.AndroidX.CoordinatorLayout">
      <Version>1.1.0.4</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.DrawerLayout">
      <Version>1.0.0.4</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.Legacy.Support.Core.UI" Version="1.0.0.4" />
    <PackageReference Include="Xamarin.AndroidX.Fragment" Version="1.2.5.2" />
    <PackageReference Include="Xamarin.AndroidX.Legacy.Support.V4">
      <Version>1.0.0.4</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData">
      <Version>2.2.0.2</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.Media" Version="1.1.0.4" />
<PackageReference Include="Microsoft.AppCenter">
      <Version>3.4.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.AppCenter.Analytics">
      <Version>3.4.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.AppCenter.Crashes">
      <Version>3.4.1</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.ViewPager">
      <Version>1.0.0.4</Version>
    </PackageReference>
<PackageReference Include="Xamarin.GooglePlayServices.Ads">
      <Version>71.1720.4</Version>
    </PackageReference>

to these versions:

<PackageReference Include="Xamarin.AndroidX.Activity">
      <Version>1.1.0.4</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.AppCompat">
      <Version>1.2.0.4</Version>
    </PackageReference>
<PackageReference Include="Xamarin.AndroidX.CoordinatorLayout">
      <Version>1.1.0.5</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.DrawerLayout">
      <Version>1.0.0.5</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.Legacy.Support.Core.UI" Version="1.0.0.5" />
    <PackageReference Include="Xamarin.AndroidX.Fragment" Version="1.2.5.3" />
    <PackageReference Include="Xamarin.AndroidX.Legacy.Support.V4">
      <Version>1.0.0.5</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData">
      <Version>2.2.0.3</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.Media" Version="1.1.0.5" />
<PackageReference Include="Microsoft.AppCenter">
      <Version>3.4.3</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.AppCenter.Analytics">
      <Version>3.4.3</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.AppCenter.Crashes">
      <Version>3.4.3</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.ViewPager">
      <Version>1.0.0.5</Version>
    </PackageReference>
<PackageReference Include="Xamarin.GooglePlayServices.Ads">
      <Version>119.1.0</Version>
    </PackageReference>

And now it works, i guess one of those old versions was the problem.

CDrosos commented 3 years ago

@saamerm Actually no, it is working on the internal channel but not working when it is published to everyone (i have check that with many phones, in app reviews are working on internal test release channel and not in public release channel ),here is a sample project https://www.dropbox.com/s/mavevrqnsgfy79n/GameStats.rar?dl=0

CDrosos commented 3 years ago

the sample project i just sent has a menu where in the 3rd option runs the Review UI

CDrosos commented 3 years ago

it's strange that it is working on internal channel. can somehow capture logs in a public release? im not familiar on how to do that

saamerm commented 3 years ago

Just hoop up your device to a device with the android sdk installed and call adb logcat. I don't understand how it working in internal test release but not production for you.

CDrosos commented 3 years ago

@saamerm I have upload a Bundle in internal test, and when i show it was working i have forward the release from internal testing to public channel so im 100% is the same release. Yes i had already submit a review for that version, i should be able however to edit my vote. Also 2 friends of mine have check the same version and got no UI and i think one of them had already vote but the other did not.

Ok i have make a textview clickable that runs the CrossStoreReview.Current.RequestReview(false); code, i have upload the Bundle in public channel, run cmd in windows 10 with admin rights and run those commands: adb shell logcat | grep com.cdrosos.kinostats

And i get this result in log when i click on the textview, i hope it's helpful somehow:

11-02 00:40:07.131 27955 27955 I PlayCore: UID: [10781]  PID: [27955] ReviewService : requestInAppReview (com.cdrosos.kinostats)
11-02 00:40:07.165  1328  2192 I ActivityTaskManager: START u0 {cmp=com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity (has extras)} from uid 10781
11-02 00:40:07.181   892  1024 I SurfaceFlinger: id=15187 createSurf (0x0),-1 flag=80004, AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}}#0
11-02 00:40:07.200  1328  1427 D GameManagerService: getForegroundPair(), state=0, bounds=[0,0][1080,2280], displayId=0, userId=0, taskName=com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity
11-02 00:40:07.200  1328  1427 D GameManagerService: MultiWindowEventListener.onFocusedStackChanged(), pkgName: com.cdrosos.kinostats, clsName: com.google.android.play.core.common.PlayCoreDialogWrapperActivity, fgActivityName:com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity, userID:0
11-02 00:40:07.200  1328  1967 D GameManagerService: onLooperPrepared(), msg: { when=0 what=10000 obj=ComponentInfo{com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity} target=com.samsung.android.game.GameManagerService$FgCheckThread$1 }
11-02 00:40:07.200  1328  1967 D GameManagerService: notifyResumePause(). of pkg: com.cdrosos.kinostats, type: 4, isMinimized: false, isTunableApp: false
11-02 00:40:07.201  1328  1427 D GameSDK@LifeCycle:   taskId=26090: com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity bounds=[0,0][1080,2280] userId=0 visible=true topActivity=ComponentInfo{com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}
11-02 00:40:07.202  1328  2192 D ActivityTaskManager: root process false,26090,27955,com.cdrosos.kinostats
11-02 00:40:07.205  1328  2192 D GamePkgDataHelper: notifyAppCreate(), pkgName: com.cdrosos.kinostats, sendRet: true
11-02 00:40:07.205  1328  1967 D GameManagerService: onLooperPrepared(), msg: { when=0 what=10010 obj=com.cdrosos.kinostats target=com.samsung.android.game.GameManagerService$FgCheckThread$1 }
11-02 00:40:07.205  1328  1967 D GameManagerService: handleMessage(), received MSG_APP_CREATE of pkgName: com.cdrosos.kinostats
11-02 00:40:07.206  1328  2192 V WindowManager: Changing focus from Window{712103b u0 com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:204 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6435 com.android.server.wm.ActivityDisplay.setFocusedApp:1686 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:6968 com.android.server.wm.ActivityStack.onActivityStateChanged:664 com.android.server.wm.TaskRecord.onActivityStateChanged:2425
11-02 00:40:07.207  1328  2192 V ActivityTaskManager: markDedicatedIfNeeded com.cdrosos.kinostats, 0,{}
11-02 00:40:07.207  1328  2192 D MARsPolicyManager: onPackageResumedFG pkgName = com.cdrosos.kinostats, userId = 0
11-02 00:40:07.216  1328  1427 D GameSDK@LifeCycle: onFocusedPackageChanged(): newPkgName: com.cdrosos.kinostats, newPid: 27955
11-02 00:40:07.241  1328  1427 D GameManagerService: notePauseComponent(), received paused-component: com.cdrosos.kinostats
11-02 00:40:07.243  1328  1427 I WindowManager: Focus moving from Window{712103b u0 com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity} to null displayId=0
11-02 00:40:07.243  1328  1427 I WindowManager: Losing focus: Window{712103b u0 com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity}
11-02 00:40:07.249  1328  1427 D GameManagerService: noteResumeComponent(), received resumed-component: com.cdrosos.kinostats
11-02 00:40:07.249  1328  1967 D GameManagerService: onLooperPrepared(), msg: { when=0 what=10000 obj=ComponentInfo{com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity} target=com.samsung.android.game.GameManagerService$FgCheckThread$1 }
11-02 00:40:07.249  1328  1967 D GameManagerService: notifyResumePause(). of pkg: com.cdrosos.kinostats, type: 4, isMinimized: false, isTunableApp: false
11-02 00:40:07.251   892  1493 I SurfaceFlinger: id=15190 createSurf (0x0),-1 flag=80004, e409b27 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity#0
11-02 00:40:07.287  1328  2192 V WindowManager: Relayout Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}: viewVisibility=0 req=0x0
11-02 00:40:07.290   892  1024 I SurfaceFlinger: id=15191 createSurf (1x1),1 flag=4, com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_27955#0
11-02 00:40:07.291  1328  2192 D WindowManager: makeSurface duration=2 name=com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_27955
11-02 00:40:07.297  1328  1427 D GameManagerService: notePauseComponent(), received paused-component: com.cdrosos.kinostats
11-02 00:40:07.298  1328  6612 D WindowManager: finishDrawingWindow: Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity} mDrawState=DRAW_PENDING
11-02 00:40:07.301  1328  1428 D PkgPredictorService: pkg:com.cdrosos.kinostats activity:com.google.android.play.core.common.PlayCoreDialogWrapperActivity thisTime:84
11-02 00:40:07.301  1328  1428 V WindowManager: performShow on Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}: mDrawState=READY_TO_SHOW readyForDisplay=false starting=false during animation: policyVis=true parentHidden=false tok.hiddenRequested=false tok.hidden=true animating=true tok animating=true Callers=com.android.server.wm.WindowState.performShowLocked:4812 com.android.server.wm.WindowStateAnimator.commitFinishDrawingLocked:415 com.android.server.wm.DisplayContent.lambda$new$8$DisplayContent:1026 com.android.server.wm.-$$Lambda$DisplayContent$qxt4izS31fb0LF2uo_OF9DMa7gc.accept:4
11-02 00:40:07.306  1328  1428 V WindowManager: performShow on Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}: mDrawState=READY_TO_SHOW readyForDisplay=false starting=false during animation: policyVis=true parentHidden=false tok.hiddenRequested=false tok.hidden=true animating=true tok animating=true Callers=com.android.server.wm.WindowState.performShowLocked:4812 com.android.server.wm.DisplayContent.lambda$new$0$DisplayContent:705 com.android.server.wm.-$$Lambda$DisplayContent$0yxrqH9eGY2qTjH1u_BvaVrXCSA.accept:4 com.android.server.wm.WindowContainer$ForAllWindowsConsumerWrapper.apply:1188
11-02 00:40:07.308  1328  1428 V WindowManager: performShow on Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}: mDrawState=READY_TO_SHOW readyForDisplay=false starting=false during animation: policyVis=true parentHidden=false tok.hiddenRequested=false tok.hidden=true animating=true tok animating=true Callers=com.android.server.wm.WindowState.performShowLocked:4812 com.android.server.wm.WindowStateAnimator.commitFinishDrawingLocked:415 com.android.server.wm.DisplayContent.lambda$new$8$DisplayContent:1026 com.android.server.wm.-$$Lambda$DisplayContent$qxt4izS31fb0LF2uo_OF9DMa7gc.accept:4
11-02 00:40:07.316  1328  1872 D PkgPredictorService-NapClassifier: Predict result: 223.0,230.0,302.0,224.0,229.0,227.0,421.0,353.0,454.0, - [0_&_com.yahoo.mobile.client.android.mail, 0_&_com.facebook.orca, 0_&_com.sec.android.app.myfiles, 0_&_com.innologica.inoreader, 0_&_com.android.chrome, 0_&_com.android.settings, 0_&_com.zhiliaoapp.musically, 0_&_com.cdrosos.kinostats, 0_&_com.google.android.apps.ads.admob]
11-02 00:40:07.319  1328  6612 D GameManagerService: identifyForegroundApp. com.cdrosos.kinostats, mCurrentUserId: 0, callerUserId: 0
11-02 00:40:07.319  1328  6612 D GamePkgDataHelper: getGamePkgData(). com.cdrosos.kinostats
11-02 00:40:07.324  1328  1428 V WindowManager: performShow on Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}: mDrawState=READY_TO_SHOW readyForDisplay=false starting=false during animation: policyVis=true parentHidden=false tok.hiddenRequested=false tok.hidden=true animating=true tok animating=true Callers=com.android.server.wm.WindowState.performShowLocked:4812 com.android.server.wm.DisplayContent.lambda$new$0$DisplayContent:705 com.android.server.wm.-$$Lambda$DisplayContent$0yxrqH9eGY2qTjH1u_BvaVrXCSA.accept:4 com.android.server.wm.WindowContainer$ForAllWindowsConsumerWrapper.apply:1188
11-02 00:40:07.326  1328  4968 V WindowManager: performShow on Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}: mDrawState=READY_TO_SHOW readyForDisplay=false starting=false during animation: policyVis=true parentHidden=false tok.hiddenRequested=false tok.hidden=true animating=true tok animating=true Callers=com.android.server.wm.WindowState.performShowLocked:4812 com.android.server.wm.WindowStateAnimator.commitFinishDrawingLocked:415 com.android.server.wm.DisplayContent.lambda$new$8$DisplayContent:1026 com.android.server.wm.-$$Lambda$DisplayContent$qxt4izS31fb0LF2uo_OF9DMa7gc.accept:4
11-02 00:40:07.339  1328  1428 V WindowManager: performShow on Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}: mDrawState=READY_TO_SHOW readyForDisplay=false starting=false during animation: policyVis=true parentHidden=false tok.hiddenRequested=false tok.hidden=true animating=true tok animating=true Callers=com.android.server.wm.WindowState.performShowLocked:4812 com.android.server.wm.WindowStateAnimator.commitFinishDrawingLocked:415 com.android.server.wm.DisplayContent.lambda$new$8$DisplayContent:1026 com.android.server.wm.-$$Lambda$DisplayContent$qxt4izS31fb0LF2uo_OF9DMa7gc.accept:4
11-02 00:40:07.363   892   892 I SurfaceFlinger:      DEVICE | 0x6fc8820510 | 0002 | RGBA_8888 |   0.0    0.0 1080.0 2280.0 |    0    0 1080 2280 | com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity$_27955#0
11-02 00:40:07.390  1328  4969 V WindowManager: Changing focus from Window{5f444c7 u0 com.android.vending/com.google.android.finsky.inappreviewdialog.InAppReviewActivity} to Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:204 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6435 com.android.server.wm.ActivityDisplay.setFocusedApp:1686 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:6968 com.android.server.wm.ActivityStack.onActivityStateChanged:664 com.android.server.wm.TaskRecord.onActivityStateChanged:2425
11-02 00:40:07.390  1328  1425 D WindowManager: setSystemUiVisibility: displayId=0, vis=0x8018, fullVis=0x0, dockVis=0x0, win=Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity}
11-02 00:40:07.394  1328  4969 D MARsPolicyManager: onPackageResumedFG pkgName = com.cdrosos.kinostats, userId = 0
11-02 00:40:07.406  1328  6612 V WindowManager: Changing focus from Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity} to Window{712103b u0 com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:204 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6435 com.android.server.wm.DisplayContent.layoutAndAssignWindowLayersIfNeeded:4071 com.android.server.wm.DisplayContent.positionStackAt:2970 com.android.server.wm.ActivityDisplay.positionChildAt:368 com.android.server.wm.ActivityDisplay.positionChildAtTop:296
11-02 00:40:07.406  1328  1425 D WindowManager: setSystemUiVisibility: displayId=0, vis=0x8518, fullVis=0x0, dockVis=0x0, win=Window{712103b u0 com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity}
11-02 00:40:07.416  1328  4968 V ActivityTaskManager: markDedicatedIfNeeded com.cdrosos.kinostats, 0,{}
11-02 00:40:07.419  1328  4968 D MARsPolicyManager: onPackageResumedFG pkgName = com.cdrosos.kinostats, userId = 0
11-02 00:40:07.423  1328  4968 I WindowManager: Reparenting to leash, surface=Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6
11-02 00:40:07.424   892  1493 I SurfaceFlinger: id=15196 createSurf (0x0),-1 flag=80004, Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-leash#0
11-02 00:40:07.425  1328  4968 D WindowManager: makeSurface duration=2 leash=Surface(name=Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-leash)/@0x8e124d4
11-02 00:40:07.426   892  1493 I SurfaceFlinger: id=15197 createSurf (0x0),-1 flag=80004, Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-bounds#0
11-02 00:40:07.446   892   892 I SurfaceFlinger:      DEVICE | 0x6fc8820510 | 0002 | RGBA_8888 |   0.0    0.0 1080.0 2280.0 |    0    0 1080 2280 | com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity$_27955#0
11-02 00:40:07.451  1328  2083 D MdnieScenarioControlService:  packageName : com.cdrosos.kinostats    className : crc64441aa66e1467637c.MainActivity
11-02 00:40:07.462  1328  1427 I WindowManager: Focus moving from null to Window{712103b u0 com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity} displayId=0
11-02 00:40:07.462  1328  1427 I WindowManager: Gaining focus: Window{712103b u0 com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity}
11-02 00:40:07.469  1328  1425 D CodecSolution: isMaxAspectPackageEx: com.cdrosos.kinostats : false(0)
11-02 00:40:07.483  1328  1427 D GameManagerService: noteResumeComponent(), received resumed-component: com.cdrosos.kinostats
11-02 00:40:07.483  1328  1967 D GameManagerService: onLooperPrepared(), msg: { when=0 what=10000 obj=ComponentInfo{com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity} target=com.samsung.android.game.GameManagerService$FgCheckThread$1 }
11-02 00:40:07.483  1328  1967 D GameManagerService: notifyResumePause(). of pkg: com.cdrosos.kinostats, type: 4, isMinimized: false, isTunableApp: false
11-02 00:40:07.483  1328  1427 D GamePkgDataHelper: getSosPolicy(). com.cdrosos.kinostats
11-02 00:40:07.484  1328  4893 D GamePkgDataHelper: getSosPolicy(). com.cdrosos.kinostats
11-02 00:40:07.484  1328  1427 D GameManagerService: identifyGamePackage. com.cdrosos.kinostats, mCurrentUserId: 0, callerUserId: 0
11-02 00:40:07.484  1328  1427 D GamePkgDataHelper: getGamePkgData(). com.cdrosos.kinostats
11-02 00:40:07.493  4829  5055 D SDHMS:jb.x: ResumePackageChangedReceiver PkgName : com.cdrosos.kinostats    isGame : false
11-02 00:40:07.494  1328  1427 D GameManagerService: getForegroundPair(), state=0, bounds=[0,0][1080,2280], displayId=0, userId=0, taskName=com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity
11-02 00:40:07.494  1328  1427 D GameManagerService: MultiWindowEventListener.onFocusedStackChanged(), pkgName: com.cdrosos.kinostats, clsName: crc64441aa66e1467637c.MainActivity, fgActivityName:com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity, userID:0
11-02 00:40:07.494  1328  1967 D GameManagerService: onLooperPrepared(), msg: { when=0 what=10000 obj=ComponentInfo{com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity} target=com.samsung.android.game.GameManagerService$FgCheckThread$1 }
11-02 00:40:07.494  1328  1967 D GameManagerService: notifyResumePause(). of pkg: com.cdrosos.kinostats, type: 4, isMinimized: false, isTunableApp: false
11-02 00:40:07.495  1328  1427 D GameSDK@LifeCycle:   taskId=26057: com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity bounds=[0,0][1080,2280] userId=0 visible=true topActivity=ComponentInfo{com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity}
11-02 00:40:07.497  1328  1427 D GameSDK@LifeCycle: onFocusedPackageChanged(): newPkgName: com.cdrosos.kinostats, newPid: 27955
11-02 00:40:07.501  1328  1427 D GameManagerService: notePauseComponent(), received paused-component: com.cdrosos.kinostats
11-02 00:40:07.507  1328  1427 D GameManagerService: noteResumeComponent(), received resumed-component: com.cdrosos.kinostats
11-02 00:40:07.507  1328  1967 D GameManagerService: onLooperPrepared(), msg: { when=0 what=10000 obj=ComponentInfo{com.cdrosos.kinostats/crc64441aa66e1467637c.MainActivity} target=com.samsung.android.game.GameManagerService$FgCheckThread$1 }
11-02 00:40:07.508  1328  1967 D GameManagerService: notifyResumePause(). of pkg: com.cdrosos.kinostats, type: 4, isMinimized: false, isTunableApp: false
11-02 00:40:07.607  1328  1428 I WindowManager: Reparenting to original parent: Surface(name=Task=26090)/@0x3879bb8, destroyLeash=true, surface=Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6
11-02 00:40:07.607  1328  1428 V WindowManager: Setting visibility of Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity EXITING}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:644 com.android.server.wm.AppWindowToken.setClientHidden:631 com.android.server.wm.AppWindowToken.onAnimationFinished:3903 com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0$SurfaceAnimator:100
11-02 00:40:07.608  1328  1428 E WindowManager: win=Window{e409b27 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.AppWindowToken.destroySurfaces:1248 com.android.server.wm.AppWindowToken.destroySurfaces:1229 com.android.server.wm.WindowState.onExitAnimationDone:5182 com.android.server.wm.-$$Lambda$01bPtngJg5AqEoOWfW3rWfV7MH4.accept:2 java.util.ArrayList.forEach:1262 com.android.server.wm.AppWindowToken.onAnimationFinished:3931 com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2
11-02 00:40:07.608  1328  1428 I WindowManager: Destroying surface Surface(name=com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_27955)/@0xa7f8d91 called by com.android.server.wm.WindowStateAnimator.destroySurface:1834 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:733 com.android.server.wm.WindowState.destroySurfaceUnchecked:3642 com.android.server.wm.WindowState.destroySurface:3616 com.android.server.wm.AppWindowToken.destroySurfaces:1248 com.android.server.wm.AppWindowToken.destroySurfaces:1229 com.android.server.wm.WindowState.onExitAnimationDone:5182 com.android.server.wm.-$$Lambda$01bPtngJg5AqEoOWfW3rWfV7MH4.accept:2
11-02 00:40:07.608   892  1495 I Layer   : id=15191 removeFromCurrentState com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_27955#0 (206)
11-02 00:40:07.612   892  1024 I Layer   : id=15196 removeFromCurrentState Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-leash#0 (206)
11-02 00:40:07.612   892  1024 I Layer   : id=15190 removeFromCurrentState e409b27 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity#0 (206)
11-02 00:40:07.612   892  1024 I Layer   : id=15197 removeFromCurrentState Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-bounds#0 (206)
11-02 00:40:07.614   892  1024 I SurfaceFlinger: id=15196 Removed Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-leash#0 (206)
11-02 00:40:07.614   892  1024 I SurfaceFlinger: id=15190 Removed e409b27 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity#0 (206)
11-02 00:40:07.614   892  1024 I SurfaceFlinger: id=15197 Removed Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-bounds#0 (206)
11-02 00:40:07.615   892  1024 I SurfaceFlinger: id=15191 Removed com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_27955#0 (206)
11-02 00:40:07.625   892   892 I Layer   : id=15190[1] Destroyed e409b27 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity#0
11-02 00:40:07.625   892   892 I Layer   : id=15191[1] Destroyed com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_27955#0
11-02 00:40:07.626   892   892 I Layer   : id=15197[1] Destroyed Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-bounds#0
11-02 00:40:07.626   892   892 I Layer   : id=15196[1] Destroyed Surface(name=AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}})/@0x6e934e6 - animation-leash#0
11-02 00:40:07.629   892  1019 I Layer   : id=15187 removeFromCurrentState AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}}#0 (198)
11-02 00:40:07.631   892  1019 I SurfaceFlinger: id=15187 Removed AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}}#0 (198)
11-02 00:40:07.642   892   892 I Layer   : id=15187[1] Destroyed AppWindowToken{3d6b49 token=Token{beffd50 ActivityRecord{e7f0713 u0 com.cdrosos.kinostats/com.google.android.play.core.common.PlayCoreDialogWrapperActivity t26090}}}#0
11-02 00:40:07.795  1328  2083 D MdnieScenarioControlService:  packageName : com.cdrosos.kinostats    className : crc64441aa66e1467637c.MainActivity
justcoding121 commented 3 years ago

I suspect I have the same issue, although I am not 100% sure. I deleted my own previous review on play store, reinstalled the app on my phone. It hits the code that calls for review. But I never ever got the pop-up for review. So far, I assumed it may be something to do with OS review call quota limit. My app is here on play store, and it should show the review the 6th time you click dismiss button after clicking play.

I expected increase in number of reviews for my app which currently has 130 active installs, but I got only one new review so far since last release on October 27th. I am not sure if that new review came through in-app review or if user volunteerly reviewed it on play store.

Same code block works fine for iOS and UWP. I see review pop-up on both iOS and UWP versions of the app.

CDrosos commented 3 years ago

@justcoding121 i just tried it in your app and it works Screenshot_20201102-023422_Google Play Store

Then i deleted your app install it again and press dismiss 6 times but i didn't see any review UI. You have a check that only shows UI once? Im trying to understand if the problem is when the user has already vote or something like that

justcoding121 commented 3 years ago

@CDrosos That is good news! I hope your issue will be resolved.

Yes. I have a check to show review only once per lifetime, unless the sqllite database on app storage is also deleted. I believe reinstalling keeps the database. Did'nt wanted to spam users with review request.

justcoding121 commented 3 years ago

I am not sure on the answer to that question. I believe google does have restrictions on how often the review UI is shown to user. Not sure what their internal logic on that exactly is.

CDrosos commented 3 years ago

When i was testing review UI on internal channel i was able to show the UI again and again every time i was pressing a button. I checked 4-5 times

saamerm commented 3 years ago

Alright @CDrosos you don’t seem to be alone! I tried to search this error and found it to be commonly occurring for native developers as well! Following this stackoverflow post, you can see that the most upvoted comment is the answer that mentions that for cases where you can see it in the internal app sharing but not in production, there is a bug that is being tracked here

CDrosos commented 3 years ago

Oh great thanks. It also seems that iy is designed to not always show the review UI which makes it kinda useless, if at least can't open the app page instead of the review UI, should we close this issue here? @saamerm

saamerm commented 3 years ago

Hmm yeah there seem to be drawbacks for sure. Yeah let's close it, at least we have this issue discussion for any one else getting confused @CDrosos