- I have integrate true caller iOS-SDK on my application and when we have to click TrueCaller login button which have added in my app that time truecaller application open but immediately redirect to my app and i have not chance to login in truecaller app and get user data.
We have to attached video also.
- Entitlement with applinks:"from my app which have created in truecaller developer account" remove https://
Trucaller_issue.zip
-
I have to set up proper way according to you SDK Readme file.
class ViewController: UIViewController, TCTrueSDKDelegate {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
//Setup TruecallerSDK
MYapplink: with https:// same as provided in truecaller developer account
if TCTrueSDK.sharedManager().isSupported() {
TCTrueSDK.sharedManager().setup(withAppKey:"MYAPPID", appLink:"MYapplink")
}
TCTrueSDK.sharedManager().delegate = self
}
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Swift.Void) -> Bool {
return TCTrueSDK.sharedManager().application(application, continue: userActivity, restorationHandler: restorationHandler)
}
func didFailToReceiveTrueProfileWithError(_ error: TCError) {
//Custom code here
}
func didReceive(_ profile: TCTrueProfile) {
//Custom code here
print(TCTrueProfile.self)
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}