Navigation

    brainCloud Forums
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Solved
    • Unsolved
    • Users
    • Groups
    1. Home
    2. Popular
    Log in to post
    • All categories
    • Announcements
    • General
    • Client APIs
    • Cloud Code
    • S2S APIs
    • Defects
    •      Portal Defects
    •      Client API Defects
    •      S2S API Defects
    •      Documentation Defects
    • Suggestions
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month

    • J

      SOLVED 'INVALID_TOKEN' When Sending Push Notifications
      Client APIs • ios push notifications • • Joseph Wiemer  

      24
      2
      Votes
      24
      Posts
      1374
      Views

      Simon Lavigne

      I just got our iOS Push Notifications working with brainCloud and would like to add a few tips to this thread. For the less Mac-Savvy developers like me, here's what it looks like when you only have your certificate with no private key to export as a P12 file: Notice the selected category is [My Certificates]. Certificates in the [Certificates] category have the P12 export option greyed out. I am using Unity as a development platform and for some reason my device would only receive Development Push Notifications even when running in Release in Xcode. It's only after uploading to TestFlight that my Production Push Notifications started working.
    • Paul Winterhalder

      Important: Unity 2019.X on mobile devices
      Announcements • unity ios defect • • Paul Winterhalder  

      22
      2
      Votes
      22
      Posts
      1791
      Views

      Omar Alzayed

      @Steve-Jones That's awesome to hear!
    • C

      SOLVED Unity Room Server
      S2S APIs • unity server room server docs docker documentation • • Chad Franklin  

      20
      0
      Votes
      20
      Posts
      126
      Views

      C

      @David-St-Louis-0 @Paul-Winterhalder Hi again. I would like to debug my server locally, in Unity. I have the _S2S stuff all hooked up as described in the walk through. But then I tried to do the following (actual numbers redacted) #if UNITY_EDITOR var appId = "00000"; var serverName = "MyServerName"; var secret = "00000000-0000-0000-0000-000000000000"; _lobbyId = "00000:myLobbyTypeId:00"; #else // Load environment variables passed in by brainCloud to our container var appId = Environment.GetEnvironmentVariable("APP_ID"); var serverName = Environment.GetEnvironmentVariable("SERVER_NAME"); var secret = Environment.GetEnvironmentVariable("SERVER_SECRET"); _lobbyId = Environment.GetEnvironmentVariable("LOBBY_ID"); #endif However, I am getting a perpetual error: #S2S S2S Failed: {"packetId":1,"messageResponses":[{"reason_code":40613,"status_message":"Processing exception: Unrecognized lobby: 00000:myLobbyTypeId:00","status":400}]} I even signed up for a Dev+ subscription, just in case that was the problem, per this thread. No luck. How can I test my server code locally, while still planning for the full-on S2S Docker container deployment? Thanks
    • U

      SOLVED Limit to API calls within cloud script?
      Cloud Code • cloudscript • • Ulrika Hjälmgården  

      9
      0
      Votes
      9
      Posts
      41
      Views

      Paul Winterhalder

      Sounds good Ali - thanks for the confirmation! Paul.
    • Omar Alzayed

      Group Members SummaryData
      Suggestions • suggestion • • Omar Alzayed  

      8
      0
      Votes
      8
      Posts
      294
      Views

      Paul Winterhalder

      We'll look into it @Omar-Alzayed ... Paul.
    • T

      Shared Global Context for each CloudCode invocation?
      Cloud Code • cloud code script loot tuning • • Travis Brown-John  

      8
      0
      Votes
      8
      Posts
      18
      Views

      Paul Winterhalder

      @Travis-Brown-John You can create them manually from the Monitoring menu. Monitoring | Global Monitoring | Global Entities. Note - if your app is live, you need to unlock it first. You'll see a bit [+] button to the right of the Bulk actions drop-down. Good luck! Paul.
    • C

      SOLVED Can't delete group after using "Delete users"
      Portal Defects • group portal • • Chris Brown  

      7
      0
      Votes
      7
      Posts
      246
      Views

      Paul Winterhalder

      @Chris-Brown No Prob - happy to help!
    • J

      SOLVED Modules/Common code scripts?
      Cloud Code • script • • Jason Jarvis  

      7
      0
      Votes
      7
      Posts
      346
      Views

      A

      Similar situation here, i had built a micro framework on GameSparks to cover cases that almost every cloud driven game require. This saved huge amount of time working on new games and at the same time sharing code among existing features. Please consider this requirement a must have for any serious game development.
    • Omar Alzayed

      A few suggestions I have so far
      Suggestions • suggestion • • Omar Alzayed  

      7
      0
      Votes
      7
      Posts
      327
      Views

      Omar Alzayed

      @Paul-Winterhalder said in A few suggestions I have so far: . Would it be fair to say that those user's entities would have to have their ACL set to other: 1 so it's readable? Yes, that would be the case.
    • A

      Inquiry of service capabilities and suggestions on the best way to implementation
      General • leaderboard currency multiplayer multiple devices • • Allen Yu  

      6
      0
      Votes
      6
      Posts
      225
      Views

      Paul Winterhalder

      What sort of devices? Will people really sit there logged into multiple devices, and expect them all to rise in realtime? I mean, wouldn't a user play on one device. Finish, and maybe pick up another device - and when they do, you refresh all the stats when the app loads? I would suggest you use RTT for real-time notifications - but we actually assume that that a user would only have one logged in RTT session - so that won't work. You could send push notifications to all of the devices. Push notifications can have data payloads - so your client app(s) can catch the updated data, or maybe the notification is just a signal to the client to request updated data... (likely more flexible). Alternatively, I guess your option best option would be to have the devices poll every <x> minutes or so... Honestly, the use case still seems a bit weird though - I'm probably just not understanding something Paul.
    • C

      UNSOLVED NodeJS setup question
      Client APIs • unity api • • Chris Brown  

      6
      0
      Votes
      6
      Posts
      111
      Views

      C

      Thanks @Paul-Winterhalder and @David-St-Louis-0 . I'm communicating with our web dev and am passing on the information to him. I'll respond here once I get more information from him. Appreciate the quick replies.
    • K

      SOLVED lobbyId ?
      Client APIs • ios matchmaking lobby lobbyid • • Kirlos Yousef  

      6
      0
      Votes
      6
      Posts
      153
      Views

      K

      Oh okay, I understand. Yeah I was already trying to use the C++ SDK, and I will also be waiting for the Obj-C one. Thank you!
    • D

      Processing Refunds?
      Client APIs • transaction log refunds • • Davis Knox  

      6
      0
      Votes
      6
      Posts
      12
      Views

      A

      @Paul-Winterhalder It'd be great if we can have this info. +1
    • Paul Winterhalder

      brainCloud 4.5.5 release coming soon...
      Announcements • braincloud roadmap 4.55 amazon • • Paul Winterhalder  

      5
      2
      Votes
      5
      Posts
      20
      Views

      A

      WOW, Thank you Paul
    • Paul Winterhalder

      brainCloud 4.4 is here!
      Announcements • braincloud release • • Paul Winterhalder  

      5
      1
      Votes
      5
      Posts
      92
      Views

      Paul Winterhalder

      Hi guys, The plan is to release 4.5 in April. Cheers! Paul.
    • C

      Thank you
      General • grateful • • Chris Brooks  

      5
      1
      Votes
      5
      Posts
      20
      Views

      C

      With the new include functionality I have been able to drop my script sizes by 60-90%! This cleans up the code dramatically and promotes code reuse. Excellent work to the BC team!
    • J

      Global Entities What, when, where and how?
      General • entity database • • Jason Jarvis  

      5
      0
      Votes
      5
      Posts
      220
      Views

      J

      Thank you, fantastic. I appreciate all the information you have given.
    • T

      Does a Pre-hook consume an extra API call?
      General • cloud code • • Travis Brown-John  

      5
      0
      Votes
      5
      Posts
      18
      Views

      T

      @Paul-Winterhalder @Ali-Raza Thanks for the help!
    • P

      SOLVED Unity basic setup
      Client APIs • unity • • Panagiotis Milios  

      5
      0
      Votes
      5
      Posts
      171
      Views

      Paul Winterhalder

      Cool to see the forums working! I've marked @Panagiotis-Milios more detailed explanation as the accepted solution, but kudos to you @Chris-Brown for pointing it out, and @Panagiotis-Milios for providing the detailed example. Thanks a bunch!
    • D

      SOLVED Award Achievement Issue
      Cloud Code • cloud code script gamification • • Davis Knox  

      5
      0
      Votes
      5
      Posts
      134
      Views

      D

      Cheers guys. Thanks for the quick response!