• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums

administrators

Private

Posts


    Field access restriction inquiry
  • Paul WinterhalderP Paul Winterhalder

    Then just call GetSessionForSessionIdAndProfileId() again.

    The check your are doing requires the retrieval of the session from memcached. Retaining a copy of the session and then checking that field later will not solve your use case...

    i.e. if the players session was valid at the time the system calls GetSessionForSessionIdAndProfileId() -- and then becomes invalid while you've got the session cached --- you can't just check the "isLoggedOut" field - because even if you COULD access it - you would be accessing a STALE copy of it.

    So just re-call GetSessionForSessionIdAndProfileId() and if that call is non-null - the session is STILL good - and you are gold.


  • Field access restriction inquiry
  • Paul WinterhalderP Paul Winterhalder

    Hi @noah ,

    That call only returns the session if the user if it's valid and the user is still logged in - so you shouldn't need to check that field. If it's non-null you are good.

    Paul.


  • Improving inventory inefficiencies
  • J JasonL

    Thank you for the feedback. We’ll take a look and follow up if needed.


  • Are there plans to support Storekit 2 receipt verification?
  • Paul WinterhalderP Paul Winterhalder

    Hi folks,

    brainCloud 5.9 is now live - with StoreKit2 support. Go to it!

    Paul.


  • Anonymous Login Cumulative Reasons
  • Paul WinterhalderP Paul Winterhalder

    Note - the system allows a maximum of 15 anonymous ids. If you exceed that, it will delete the oldest ids to keep you at 15.

    [Background - this used to be totally unlimited - but they really added up for some apps - so we implemented this behaviour and set the max of 15 as being "more than reasonable enough to handle all use cases!" 🙂

    Paul.


  • Anonymous Login Cumulative Reasons
  • J JasonL

    This can happen if you’re using multiple devices or multiple app installations, as each one generates its own anonymous ID.


  • Improving inventory inefficiencies
  • J JasonL

    We are deploying brainCloud v5.9 today, which includes a new bulk userItem feature that addresses the inefficiencies you mentioned about the multiple item rewards. Please give it a try later today and let us know if it resolves your use case.


  • Are there plans to support Storekit 2 receipt verification?
  • J JasonL

    Confirmed, StoreKit2 support is included in the upcoming v5.9 release, scheduled for next week.


  • Are the Cloud Code type definitions (.d.ts) in the local setup guide outdated?
  • J JasonL

    Thanks for reaching out and for raising the question.

    At the moment, the VS Code extension does not support targeting or importing from a specific directory. Its primary purpose is to synchronize Cloud Scripts stored in brainCloud and provide a convenient way to edit them using standard VS Code workflows and tooling.

    We have created an internal task to review this limitation and discuss potential improvements to the extension so that it better supports directory-based workflows in the future.

    In the meantime, one practical workaround is to export your Cloud Scripts directly from the brainCloud portal. Once exported, all scripts can be reviewed locally. You can then organize them into a folder structure that mirrors your desired layout, including the use of subfolders and .ccjs files. From there, you can zip the contents and import them back into your app, which can significantly reduce the need for repetitive copy and paste actions across individual files.

    Please let us know if this approach works for your use case or if you have additional feedback on how you would like to see the extension evolve.


  • Field access restriction inquiry
  • J JasonL

    Yes, this is a known limitation. Due to backend security applied, Rhino can no longer directly access Java classes. Currently, our backend does not convert Java Boolean objects into primitive values before passing them to Rhino.

    I’ll forward this to our development team to see what improvements we can make on our side.

Member List

bcadminB bcadmin
Mark DouthwrightM Mark Douthwright
J JasonL
C Claire Raby
Markus DouthwrightM Markus Douthwright
C Corey Clarke
Adam PilkingtonA Adam Pilkington
Paul WinterhalderP Paul Winterhalder
R Roger Masse
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users