• Discuss all the things!

    137 Topics
    468 Posts

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

  • Suggestions for improvements, new features, etc.

    38 Topics
    121 Posts

    hi. @JasonL

    Thank you for your reply.
    I thought it was a JavaScript object, so I used Object.Assign({}, session), JSON.Parse(JSON.stringify(session)).
    I tried to copy the object and use it, but since it's a reference to a Java object, it didn't work as intended.
    Please help me retrieve the necessary data.

  • Questions specific to particular APIs, libraries, etc.

    58 Topics
    225 Posts

    Hello @peter.

    That's correct, you get the TransactionID from deserializing PendingOrder.Info.Receipt (at least that is the method I'm using 😅). The reason why you want the TransactionID and NOT the OriginalTransactionID is because renewed subscription purchases will have two different values for this.

    Just a couple questions so we have more context:

    Do you have the Bundle Id field filled on the Apple Platforms page on brainCloud? This is still a requirement for validating purchases. You'll need to make sure to have one set up for your app on Certificates, Identifiers & Profiles and that it matches the Bundle Identifier in your Unity Player Settings.

    Are you running CachePurchasePayloadContext() (docs) before VerifyPurchase()? This is also a requirement for purchases of itunes type.

    Please let me know so we can look deeper into this! Thanks 😄

  • General cloud code discussions...

    34 Topics
    141 Posts

    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.

  • brainCloud's online learning tutorials and examples.

    3 Topics
    3 Posts

    brainCloud developers have just release several playable builds of our famous examples! See our cool features in action. Find them at https://getbraincloud.com/demos for Windows, Mac, online and mobile.

brainCloud 5 is alive!

brainCloud 5 features Portal-X (our next-gen portal), Integrated Forums (you found them), our new Bootcamp training videos, and more!

Join the discussion here!

brainCloud Bootcamp!
brainCloud's new video learning portal is now online! Go check out brainCloud BootCamp!

Need to report a defect?
Use the chat widget from the Design Portal - or send an email to support at getbraincloud.com. Thanks!