Pollfish - changing the requestUUID after initialization

Is it possible to add a setter for requestUUID?

Currently, it is set at initialization, and since we can’t call init again after the plugin was initialized, we can’t change this field. 

In our game, a user can connect accounts, so the user id might change after init. For these cases we need to change the requestUUID to the new user id. 

I’ll add it to the list of valid parameters passed to pollfish.setUserDetails().

Example:

pollfish.setUserDetails({requestUUID = “ab2111-11349c-223231-afb210”})

Sounds OK?

sounds perfect, please let us know when we can use it. 

@stanga

The change is live on the build server. The documentation has also been updated, but it takes longer to propagate.

Usage is as described above.

BTW.

While updating this, I happened to find the issue you mentioned earlier (onResume behaved as if customMode had been “forgotten”). This issue has also been fixed  :slight_smile:

I’ll add it to the list of valid parameters passed to pollfish.setUserDetails().

Example:

pollfish.setUserDetails({requestUUID = “ab2111-11349c-223231-afb210”})

Sounds OK?

sounds perfect, please let us know when we can use it. 

@stanga

The change is live on the build server. The documentation has also been updated, but it takes longer to propagate.

Usage is as described above.

BTW.

While updating this, I happened to find the issue you mentioned earlier (onResume behaved as if customMode had been “forgotten”). This issue has also been fixed  :slight_smile: