Post

Replies

Boosts

Views

Activity

Fetch/Querying working on dashboard but not on app
I have a simple record called UserCode, the name of the record is created by each user entering the app for first time creating an alphanumeric random string of 8 letters. When I try to query, or fetch this record FROM THE APP it simply gives me error 11 (not exists) or records.length==0 if i try to query. If i do it from the dashboard all fine, i can query and fetch. The name of the record is set as searchable, also tried with queryable. Nothing works. The icloud account I use in the app is the same one as the dasboard. All permissions are open for that record, except world write. Any explantion or sollution? i've been 2 days around this and i cant find a way.
0
0
747
Jan ’23
Game Kit exception when trying to fetch leaderboards
I'm using Unity 2020.3.33 and an external asset too update and fetch leaderboards, when I replaced the code to use the unity one I see that crashes when fetching leaderboards. Authentication works fine but this happens when I try to fetch my leaderboards: Code: var leaderboards = await GKLeaderboard.LoadLeaderboards(GameCenter.LeaderBoards.Age.ToString()); Stack:  Default constructor not found for type Apple.Core.Runtime.NSMutableArrayString  StackTrace: at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0  at System.Activator.CreateInstance[T] () [0x00000] in <00000000000000000000000000000000>:0  at Apple.Core.Runtime.ReflectionUtility.CreateInstanceOrDefault[T] (System.IntPtr pointer) [0x00000] in <00000000000000000000000000000000>:0 at Apple.Core.Runtime.NSMutableArrayFactory.Init[TBase,TElement] () [0x00000] in <00000000000000000000000000000000>:0  at Apple.GameKit.Leaderboards.GKLeaderboard.LoadLeaderboards (System.String[] identifiers) [0x00000] in <00000000000000000000000000000000>:0  at UIGovHighscore+d__34.MoveNext () [0x00000] in <00000000000000000000000000000000>:0  at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0  at UIGovHighscore.ReadResidentRankV2New () [0x00000] in <00000000000000000000000000000000>:0
1
0
1.7k
Aug ’22
QuotaExceeded error questions
Hello people. I've been giving my CloudKit game for testing to some dozens of users. The save file is being saved in their Private Database. (approximately 100KB). One of them got on first run the cloudKit exception 25 (QuotaExceeded) which means the user's iCloud was full so the first record was not created in the users private database. This happened on the first attempt to run the game, so I will probably instruct to save into the Public Database. But my question is.... is it possible that this error pops up AFTER I created the first record? I mean... could my game run perfectly for x time and then, if the user fills the iCloud space with other stuff... one day get QuotaExceeded and stop working? Thanks a lot.
1
0
757
Dec ’21
Do bots/testers open my app when uploading to TestFlight?
I'm receiving exceptions and user reports from devices that don't belong to my testers. One of them even has the Chinese language set in it. Another thing is they dont seem to have any iCloud account set up so it makes me think its an emulator of some type. Is it possible these reports are coming from any TestFlight bot or tester ? Or should I start to worry of who's having access to my app? Thanks
0
0
783
Nov ’21
CloudKit private database costs
I know this has been asked multiple times, but posts are really old, some links are missing and official documentation is not clear about this. I dont understand the 40 request per second thing. At some post I've read it scales up per user, does this apply for private databases too? I simply dont get it, And how does it scale up ? Is it linear or how is the formula? And what's exactly a request? Any operation of querying, fetching, updating or saving? I simply can't get it because 40 requests per second seems extremely low, I mean just with a few thousands of users saving his progress (even if its just a 50K string) would end up being extremely expensive. (Overage Fee: $100 per 10 requests ) So what do you do then if you need more requests per second, you simply pay the overage? There must be something I'm not understanding. Thats why I'm asking. Thanks a lot EDIT: is maybe 40 request / user ? that would make more sense
2
0
4.0k
Aug ’21
Hiding IAP's in certain countries to avoid anti-lootbox laws
Hi, as far as I found there's not a way of hiding In App Purchases in certain countries. Actually, Apple's Guidelines suggest that is not even allowed. But not long ago countries like Belgium and Netherlands have taken legal actions against studios that offer this kind of In App Purchases so... Whats the solution? Completely remove any type of loot boxing from our game? Remove the game from those countries App Store ? (I dont know if this is even possible, I guess it is) Find the location of the player programmatically and show/hide IAP's (not very reliable) I'm surprised I couldn't find more debate about this since tons of games offer this kind of purchase. Thanks in advance!
1
0
1.6k
Jul ’21
Exception "The operation couldn’t be completed" (CKErrorDomain error 3 )
This exception triggers when the app tries to get the instance of the local database. It works well on other devices so far. I've tried 3 different devices with 3 different iOS versions (13, 14.1 and 14.2) And the one having this problem is the one with the 14.1 although I doubt this is an iOS problem. CKErrorDomain 3 seems to show connectivity problems but the device has good internet connection, also the iCloud is enabled. Anybody experiencing same issue?
1
0
2.3k
Feb ’21