TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | May 2017 |
Maintained by Atai Barkai.
A µLibrary for making calls using Doximity Dialer.
Doximity's Dialer app lets healthcare professionals make phone calls to patients while on the go -- without revealing personal phone numbers. Calls are routed through Doximity's HIPPA-secure platform and relayed to the patient who will see the doctor's office number in the Caller ID. Doximity Dialer is currently available to verified physicians, nurse practitioners, physician assistants and pharmacists in the United States.
This µLibrary lets 3rd-party apps easily initiate calls through the Doximity Dialer app.
To initiate a call using Doximity Dialer, simply call the dialPhoneNumber
method on the shared DoxDialerCaller
instance.
If the Doximity Dialer app is not installed, this call will direct the user to Doximity Dialer on the App Store.
Most reasonable phone number formats are accepted by the dialPhoneNumber
method, e.g.:
6502333444
(650)233-3444
+1(650)233-3444
import CallWithDoxDialer
...
DoxDialerCaller.shared().dialPhoneNumber("4254443333")
#import <CallWithDoxDialer/CallWithDoxDialer.h>
...
[[DoxDialerCaller shared] dialPhoneNumber:@"4254443333"];
The library also includes a version of the Doximity Dialer icon appropriate for use inside buttons. It's available through
DoxDialerCaller.shared().dialerIcon()
DoxDialerCaller.shared().dialerIconAsTemplate()
(for use in tinted views)CallWithDoxDialer supports iOS 8.0+.
First, you must give your app permission to open the Dialer app.
In your app's Info.plist
, add a new entry with key LSApplicationQueriesSchemes
and value type Array
if one does not already exist.
Then add an element to the array of type String
and value doximitydialer
.
To integrate CallWithDoxDialer
without a package manager, simply download the following files, and place them anywhere in your project:
CallWithDoxDialer/DoxDialerCaller.h
CallWithDoxDialer/DoxDialerCaller.m
CallWithDoxDialer/CallWithDoxDialer.bundle
If you are trying to reference DoxDialerCaller
from a swift file, make sure to also add the following to your PROJECTNAME-Bridging-Header.h
file (auto-generated by Xcode when you add your first Objective-C file to the project):
#import "DoxDialerCaller.h"
If you need any help, please reach out! [email protected].