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 6 years ago.
Improve this question
I was wondering if you guys could show me how to setup Reset Password in Swift, I am currently using Firebase as my backend service. I just need the code.
The answer is in the API documentation:
-sendPasswordResetWithEmail:completion:
Initiates a password reset for the given email address.
See FIRAuthErrors for a list of error codes that are common to all API methods.
In Swift 3.x and Firebase 3.x it will look like this:
FIRAuth.auth()?.sendPasswordReset(withEmail: "email#email") { error in
// Your code here
}
Edit:
Firebase 4 changed the Firebase functions to be more aligned with the naming conventions in Swift.
Auth.auth().sendPasswordReset(withEmail: "email#email") { error in
// Your code here
}
Related
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 6 months ago.
Improve this question
I need all possible calling option same as IOS native Call.
I don't want NSURL(string: "tel://\(busPhone)")
Look up what URL each app (Skype, ...) uses to initiate calls.
Then use canOpenURL(_:) to check which of these calling apps are installed.
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 3 years ago.
Improve this question
I need to implement a chat into my app and im not sure on what to use and how. I don't know what is required for creating a chat, do I need to use some special stuff or is it enough with posting the messages to a database and then the other user retrieve that message?
You can use Firebase MBaaS with NativeScript, to make a chat app.
Or you can also take another approach and use QuickBlox, Parley, Applozic, Connectycube, etc.
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 5 years ago.
Improve this question
I want multiple email accounts like gmail, yahoo, outlook and custom domain mail to be shown under one hood, i.e. a custom inbox/sent/trash of my creation? can anyone provide me any idea on what to look for or how to achieve this in iOS?
You can use an open source library 'MailCore' which serves the purpose of sending/receiving emails programmatically.
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 6 years ago.
Improve this question
I am building a mobile app that requires some waivers for to be signed. Now I decided to go through Docusign in order to get electronic signatures but the do not seem to have any SDKs or tutorials for integration using swift language. Is there any way to integrate DocuSign with my app being completely composed of swift? Thanks.
When writing in Swift you can use obj-C code. Use a bridging header to include obj-c code to your swift project.
I don't know anything about Docusign, but if they have a obj-c SDK, you can use it in your project.
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 7 years ago.
Improve this question
How can I use afterSave, beforeDelete, afterDelete methods from parse.com (https://parse.com/docs/cloud_code_guide#functions-aftersave) in Swift? In the docs I don't get a Swift example.
As I am having data with pointers, it would be nice to use the afterSave increment for a counter as well as to check for related data before deleting it.
Has anyone used this before and could show me how that could look like?
The afterSave, beforeSave, and afterDelete methods are written in JavaScript and run on Parse.com as CloudCode functions.
There is no Swift (or Objective-C) versions, just JavaScript that gets called automatically when an object is saved or deleted.
Start with their getting started guide to set up your environment and write some code.