Hard coded Firebase Auth [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have an app which is connected to Firebase.
I have set the rules in the database so that one user (lets name it testUsr) has the permission to read the database but not write to it.
In the iOS app I implemented the login function to the firebase, BUT I hard coded the username and password for the testUsr.
So my question is that will my app get rejected for that hard coded user authentication if I publish it someday?

Yes, your application will be rejected by Apple because you are using a login service without implementing login with Apple (According to the most recently issued guidelines). They might make an exception though if the whole process happens in code alone—I'm not sure but I would avoid the hassle.
Why is a login required at all? Can't you just make your database on the firebase side read-only without the need of a sign-in at all? You can alter the rules in your database I'm thinking something like. Let me know if it doesn't work and ill do some more researching.
// Allow read/write access on all documents to any user signed in to the application
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow write: if request.auth.uid == "**YOUR MAC ACCOUNT**";
allow read;
}
}
}

Related

Can I get family member's Health Data with HealthKit? - Swift [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 months ago.
Improve this question
In iPhone Health App, My family has shared information to me. Can I get these information in my app?
I try to get information in "Healthkit", but I can always obtain personal data only. Is there any way to get family health data?
Short answer: No
Longer answer:
To access health data, an app needs to request access from the user. The user can decide if they want to share the data with the app and what data they want to share. Before sharing they may consider the data that is being requested, the privacy policy of the app and so on.
If an app was able to access family health data that had been shared with you then the family member is being denied the opportunity to decide what data to share or whether to share any data with the app. You cannot consent to the sharing on their behalf.

New My Business Account Management API quotas and access [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I currently us the Google My Business API with no problems (july 2021).
But Google is migrated this API to several new API. The first one is My Business Account Management API.
In the cloud console, I have activated this API in the project. It's activated, but the request quotas is 0. So, it's unusable.
I found this question which seems to be the same problem, but it didn't work for the moment: Google My Business API return 429 code all time
I filled the form, but no reply.
2 questions:
do I need to do something else to have the access granted to the new API or just activate it in the console project is enough ?
Is the form the right way to ask to increase quotas ?
Thanks a lot for your reply.

how to use Public API access keys for iOS app for google drive in iOS sdk [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am using my google drive a/c to allow end users to upload/download files. I don't want to ask them for credentials while using my app. But I am neither able to find a way to by pass this process, nor able to find a way for using Public API access API keys for iOS app.
Please provide some demo code if any one have.
You can only use public access API keys when the information you are trying to retrieve does not require any user data. This does not apply in the case of Google Drive since mostly everything you can do is associated with a user, which means you will have to authorize your requests with user credentials. It sounds like your use case involves all the users using your own singular account, which I find a little strange. This will depend on your use case, but you may want to look into service accounts, as that is one way to bypass the need for end users to give credentials.

Identify with services-IRC [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I used to hangout at #RubyOnRails in freenode. i have no previous experience with IRC ,michael hartl's tutorial lead me there.For past few weeks when i try to join the channel ,i get this issue
NickServ- This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
[12:46] == gateway/web/freenode/ip.122.172.187.129 is now your hidden host (set by syn.)
[12:46] == #rubyonrails Cannot join channel (+r) - you need to be identified with services
so, somebody enlighten me how to identify with services..
You can't join #rubyonrails because it is +r, meaning only registered and identified nicknames are allowed to get in.
Did you register your nickname? If you did, you must have chosen a password when you did so. Thus, you just have to identify yourself before trying to join, as NickServ suggests, with /msg NickServ identify your-password.
If you never registered your nickname and all of a sudden you get this message, it means someone else registered your nickname and is using it. You didn't register it, so it's not yours, you can't claim it. There is nothing you can do besides choosing another nick (and this time register it, so that no one uses it). Change your nick by typing /nick new-nick, and then register. You can read about how to register with /msg nickserv help register. Then you can join.

Is it possible to merge two apps on the App Store into a single app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Here's the situation: I created an app and released it, only to discover a friend of mine had actually created a similar app. We decided to combine our efforts and make a single app going forward, using his app's name (and my code).
Now granted my app was just released so there's practically nobody using it, but even so I'd like to not just abandon those people that may be using it. I'd love it if there were some way to merge the apps such that users of my app were notified of an updated version that actually downloads the other app's bundleid (but which will have the same codebase as the previous version of mine).
Is there any support for this scenario on the App Store?
Failing that, I would at the very least like to transfer purchases of the old app into purchases of the new app.
No, I don't think there is any way to do what you describe. Apple treats apps as completely separate, and does not allow you to transfer one to another.

Resources