Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I want to delete a record in a shared cloud container at a specific date time. When the record is created I know when it should be deleted.
Is there a way to create a trigger that will handle the work for me?
The only solution I came up with is:
Add code to the app that will delete the records
Use a server application to query and delete the records
The first solution is not preferred since it won't work if the user does not start the app. The second solution seems to be "overkill".
Is there a way to register a trigger on the CloudKit dashboard?
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
When I was creating my app I thought it would be a good general rule to remove every listener I add. However when I added the authStateDidChangeListener I couldn't find a good place to remove the listener. I don't think there's ever a time you don't want to be keeping track of the log in state because if you're not logged in you can't access the app (the app is like facebook/instagram so signing in is necessary).
Is it required to remove the authStateDidChangeListener? Will never removing it have any consequences?
No, you are not required to remove authStateDidChangeListener.
You are correct that it is a good practice to remove unused listeners, but as you outlined, you probably always want to know the auth state of your app.
When your app is closed by the system or force closed by the user, its resources will be reclaimed by the system, so there won't be any consequences to not having removed the listener.
All of this, of course, is assuming that you've only created one listener and aren't creating a bunch of redundant entities.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm facing the problem below:
When the user decides to delete all iCloud data inside settings, automatically, all local core-data savings are deleted as well.
After some debugging, I could find out that this exactly happens after the first time I initialize an NSPersistentCloudKitContainer. So somehow the merge happens to reset the local data?
I have also made a dummy project using the NSPersistentCloudKitContainer. I could observe this behaviour as well, which makes me conclude that this happens by default?
Any help would be greatly appreciated. I could tell you the details if you wish, I just don't know what I should include.
Update
Could this be intended?
It says this action will also delete all data stored on this iPhone.
But what if the user only whats to clean some iCloud space?
Interesting
From testing many real-world applications - part of them shows the behavior of losing all local data as well. But there is also a decent amount of apps keeping the local data after the reset.
I also tested it with apples own Clips app. All local-data were gone as well.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
In my app the user should be able to search other users that are stored in Firebase. Pretty much like Instagram for example. Tragically I found out that this is not quite possible in Firebase yet. Most of the posts I found about this were older, so was there anything added that could help me out here?
I thought about this:
Right now I have stored all`users with their information. When starting the app I could retrieve all usernames and store it in a variable and then work with that. But this is rather brute force approach... I figure I am not the only one with that problem, so does anyone know what I can do here?
I hope this question is conforming all guidelines, correct me if not.
If Firestore isn't adequate for the kinds of queries you want to perform, your only real alternative is to duplicate that data into another database that can do it.
You will have to come up with some options on your own, as requests for offsite software products are off-topic for Stack Overflow.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
Can i use authorization for custom database like i have created my own user table which have following attributes and at the same time can i use the authorization to check that if user is logged in then it checks that what is the role of user so he/she can view the page or not.
UserName
Role
ID etc.
I have tried Session["UserName"] and many things to manage the login system but it didn't worked
eg i have three views Managerpage Testerpage Developerpage each can view the related page according to roles Manager Tester and Developer.
Thank You in advance
please dnt block me just ask me if i cant explain my problem.
Going based on your picture. You should really provide more information if you are going to ask a question in the future.
SELECT UID
FROM dbo.User_Project
WHERE PID = '1';
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
On 10/17, adobe issued release 1.4 (Version 15), which wrote over all of our event, evar and prop field names... has anyone else experienced this issue? If so, how did you fix it?
I have not seen this happen (I work with a lot of clients who use SiteCatalyst.. haven't heard anything from them nor seen it myself). I would first try logging out and clearing cache/cookies and then log back in. I have sometimes noticed weird behavior in menus after changes (like creating/updating saint classifications), and doing this fixes it. But if that doesn't work, you can just go into your interface and relabel them (you have to have admin privs). Kinda inconvenient, but doable.
Also.. if there is more than one person with admin access to your SC interface.. you should ask around and see if anybody messed with it. Another way this could happen is for example if someone made a new report suite and was looking to dupe the variable labels/settings from an existing one.. and then messed up the process. For example, if you select 2 (or more rsids) and go into the prop listing, it will normally say "multiple" as a value if they do not match up between rsids.. but when you make a change, it's changing all selected rsids..