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.
Chris Brown
Posts
-
-
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.
-
Our web guy is currently looking at the example here
https://www.npmjs.com/package/braincloudWe'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.
-
Hello,
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.
-
Nothing wrong with using Static, just have to know when to use it and when not to.
I avoid GameObject.Find, but some are ok with it at the start of a scene.Glad you have a solution that works for you.
-
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.
-
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)
-
We had the same issue at first. But we found if you go under the admin tools section there is a place to delete all users.
-
I noticed our UnityWebRequest.mm file is different. Do we still need the @synchronized fix?
-
Not sure if this will help you, but I wrote a cloud script for one of our apps that takes a list of profileids and returns their summery data. Note I'm not a pro at the cloud scripting, but this works for our needs.
var memIds = data.memberIds; var results = {}; var getGroup = bridge.getFriendServiceProxy(); for(i = 0;i < memIds.length;i++) { var memId = memIds[i]; results[memIds[i]] = getGroup.getSummaryDataForProfileId(memId); } results;
-
When we grab all the group data, we can get a list of any request or invites that are sent for the group. The only downside is there aren't any names included so when we show a list of it to the user, we would have to fetch the names on their own.
This particular app we are working on could have several request and invites going on. We thought about using the Attributes section, but there didn't seem to be a way to pass in info to that section when using the join group call.
We figure there may be a way to do this through cloud code, but we're just not certain how to do that coding.
Reaching out if anybody has a good solution they came up with on this part?
Thanks for any assistance.
-
Thanks @Jonathan
It was a bit confusing since I was thinking in terms of the owner having quick access to all their groups data, but I understand the difference in GetMyGroups now. It's a call on the profile and not on the group. -
We are setting up private groups and have stuff in place for a user to send a request to a group to join that group. However, on the group owner side, we noticed an issue when we use the "GetMyGroups" call.
It does show we have request pending, but the requested part is empty.
As in the screenshot, I have 5 users request pending, but nothing in the requested section which I assumed was suppose to have some user information.
I did look in the brainCloud dashboard under groups and I can see the names of the users making a request to join.
I did discover I can get the pendingMembers through the ReadGroup call, just seemed odd there was a section in GetMyGroups that was empty.
Thanks!
-
I like the new forums. It was something I always felt was lacking and with the quick response time, they have already proven to be very useful. Hopefully this helps connect developers using brainCloud together as well as with the brainCloud team.
-
Hopefully this gets fixed soon. We're using 2019.x for a client app that uses brainCloud as a backend and we're not going to be able to downgrade. I don't think we've seen this issue, but nothing we're doing right now is very large with transferring data to the brainCloud that I know of.
-
Thanks @Paul-Winterhalder ,
We'll program a work around for now until brainCloud 4.1 is released.
-
We are currently setting up a system that allows a user to browse groups. However, we only want to list public groups, so there isn't a need to retrieve private groups to display.
We are using the ListGroupsPage call and trying to pass in searchCriteria as the following
{ "context": { "pagination": { "rowsPerPage": 50, "pageNumber": 1 }, "searchCriteria": { "groupType": "groupType", "isOpenGroup": true }, "sortCriteria": { "createdAt": 1, "updatedAt": -1 } } }
However, this throws the error
{ "status_message": "Processing exception (message): Search field name isOpenGroup is invalid or cannot be accessed. Use data.property to access custom fields.", "reason_code": 40349, "status": 202 }
Are we just missing a way to get the public groups only? Thanks!
-
Thanks Paul!
-
Thanks Paul,
It should be fine. We'll just inform the testers to not use that group and make sure they are creating and testing in a new group for now.
NodeJS setup question
NodeJS setup question
NodeJS setup question
Changing groups from Public to Private and back on dashboard
Unity basic setup
Group system with larger than 50 limit
Unity basic setup
Mass delete of users.
Important: Unity 2019.X on mobile devices
Group Members SummaryData
Getting names for request and invites to a group
GetMyGroups doesn't return anything in requested
GetMyGroups doesn't return anything in requested
So - our forums are up! What do you think?
Important: Unity 2019.X on mobile devices
Getting public groups only
Getting public groups only
Can't delete group after using "Delete users"
Can't delete group after using "Delete users"