Skip to content

Truecaller login click in my app and direct dimiss truecaller app and redirect to my app and did not chance to login and get data from user #14

@pratikmi

Description

  • 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.

  1. Entitlement with applinks:"from my app which have created in truecaller developer account" remove https://

Trucaller_issue.zip

  1. 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.
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions