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.
Posts made by Chris Brown
RE: NodeJS setup question
I'm not a web developer, so forgive me if I don't understand that side of things.
We currently have an app for a client that has a subscription based service. The subscription can be purchased on an individual bases, however the main use case is that a teacher/leader can purchase a package instead where a single license key can have multiple users. They can distribute their key to any number of users.
Originally, the client requested a link in the app we developed for them to allow the user to go to a separate web page that we ran using an in app browser. Since they never left the app, we were able to transmit data to use their braincloud ID as a unique ID when they registered their account and once they entered their key on the simple webform, we could close that out and return to the app, easily saving information to their account from there.
However, as we had warned the client, most likely Apple would put a stop to this as it was bypassing their own subscription service IAP. Recently while trying to do an update to the app, the reviewer noticed the link and rejected the update.
Our phase 1 solution with the client is to allow the user to create an account in the app as normal.
They will then need to go to the clients webpage which will have a link to our webform.
This webform will require the user to log in using the same credentials as they used to create their account in the app. Then they will go to the webform to enter their subscription key. This will be validated with the clients server and once returned, we'll need to save a key/value pair to the users braincloud account.
Once they receive a successful message, they will be able to return to the app and we'll be able to grab that value and use it for all future validations from within the app and allow them access to their content.
Note that phase 2 will have a full dashboard created on the clients webpage to allow for account creation and management. We're certainly hoping to use what we learn from phase 1 in phase 2.
Sorry for the long winded explanation. Hopefully this helps explain what we're trying to achieve.
NodeJS setup question
Our web guy is currently looking at the example here
We're having to setup a web interface where a user can log into their account, register some information, and then some data is saved to their account which they can access in an app.
I am adding his question here.
I started working on integration with BrainCloud using their official client library for NodeJS
It looks like it can not work on a server.
Could you please validate that it is only intended to work from Browser with BrainCloud support?
If it so - could you please ask them about best practices of securing the app secret? If we implement it the same way it is done in the example it could be easily fished out along with app Id.
I appreciate any help provided. Thank you.
Changing groups from Public to Private and back on dashboard
We have an app that is live for a client where users can create groups and specify public or private during creation. The client did not request the user have an option to change their group from public/private, so we did not build this into the app. However, they are now asking if we can manually change a group.
I did not see a way in the dashboard to access if the group is public or private nor to change this setting. Is there some way we can do this using the API explorer in the dashboard?
Thank you for your help.
Group system with larger than 50 limit
We are working on an app that will allow people to join different membership groups. We thought about using the group system, however there is currently a 50 member limit from what we can see.
Is there any other option we may be overlooking that would allow us to have a smaller number of groups, but a larger member count?
We'll need to be able to query the members and pull data from their entities that we can display to an admin, but we don't want the admin accounts for each membership to pull members that don't belong to their group. We also figured the group system may work as we can page the queries. It's possible some memberships may have several hundred members.
Thank you for any assistance.
RE: Unity basic setup
GetBrainCloud() isn't static, which means in your other script what is BCConfig? Looks like you're missing a reference to it from what I can see. Even though your GameObject may carry over, you'll still need a reference to it.
As you mentioned, making the variable static would work. I use this in our apps, and just assign the value in awake.
public static BrainCloudWrapper brainCloudWrapper;
Then in your case, you'd just reference it with BCConfig._bc; (using your variable name)