• 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
C

Carlos Barcenilla

@Carlos Barcenilla
About
Posts
3
Topics
2
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Stop making all tabs go to the same project. Immediately.
  • C Carlos Barcenilla

    In fact, the new portal does not allow multiple tabs at all. That makes it so unusable! It is such a bad experience that I keep switching back to the legacy portal.


  • How to create a private system entity from cloud code?
  • C Carlos Barcenilla

    I want to create a private system entity. I can do it using the portal with "ACL: Private".

    However, from Cloud Code (S2S) I cannot manage to do it:

    This creates a public system entity:
    createSystemEntity(entityType, timeToLive, null, data)

    This raises an error:
    createSystemEntity(entityType, timeToLive, { "other": 0 }, data)

    {
    "reason_code": 40564,
    "status_message": "Processing exception: ACL must be readable",
    "status": 400
    }
    

    This workaround does the job in two API calls:
    createSystemEntity(entityType, timeToLive, { "other": 1 }, data) -> creates a public system entity
    updateSystemEntityAcl(createResult.data.entityId, -1, { other: 0 }) -> makes the entity private

    If I can update the entity to make it private I should be able to create it as private.

    Is there a way to do do it in the creation call?

    Tnx


  • NPM braincloud package install
  • C Carlos Barcenilla

    Hi

    I am trying to install the braincloud npm package and it cannot solve a dependency. I have been looking for that async storage 2.4.2 package and I cannot find it anywhere, in https://www.npmjs.com/package/@react-native-community/async-storage there is no such version, and it is a deprecated package. On the replacement site https://www.npmjs.com/package/@react-native-async-storage/async-storage the latest version is 1.15.8.
    I understand I will not be needing that package, but I do not know how to skip its installation. Could you help me with this?

    npm WARN ERESOLVE overriding peer dependency
    npm WARN While resolving: braincloud@4.8.0
    npm WARN Found: @react-native-community/async-storage@undefined
    npm WARN node_modules/@react-native-community/async-storage
    npm WARN
    npm WARN Could not resolve dependency:
    npm WARN peer @react-native-community/async-storage@"^2.4.2" from braincloud@4.8.0
    npm WARN node_modules/braincloud
    npm WARN   braincloud@"*" from the root project
    npm ERR! code ETARGET
    npm ERR! notarget No matching version found for @react-native-community/async-storage@^2.4.2.
    npm ERR! notarget In most cases you or one of your dependencies are requesting
    npm ERR! notarget a package version that doesn't exist.
    
  • Login

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