truecaller / ios-sdk

Apache License 2.0
16 stars 17 forks source link

Not fetching Details When Clicked On Truecaller Button #12

Open abhinayVrm opened 6 years ago

abhinayVrm commented 6 years ago

Things integrated in project -: i) Info.plist -> LSApplicationQuesriesSchemes have key value set as truesdk. ii) In Capabilities -> Associated Domains -> setted domain without https . used applinks:......... iii) In app Delegate -> TCTrueSDK.sharedManager().setup(withAppKey: "mykey", appLink: "mylink") iv) In app Delegate -> func application( application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { TCTrueSDK.sharedManager().application(application, continue : userActivity, restorationHandler: restorationHandler) } v) I have integrated TCProfileRequestButton and func didReceive( profile: TCTrueProfile) , didFailToReceiveTrueProfileWithError and willRequestProfile delegate functions in the controller with TCTrueSDKDelegate confirmed in the controller.

PS -: a) It was working for us before pushing it to app-store. b) I'm getting a call in willRequestProfile on clicking of that button after which it takes me to a blank safari screen attaching the same. No call came in didFailToReceiveTrueProfileWithError and didReceive after willRequestProfile.

Kindly let us know what is the issue. truecallererror

Thanks.

bi1zi1 commented 6 years ago

Once you swipe down, do you get the option to "Open in App"? What is the version of the Truecaller app?

Also please try the following: Open the Truecaller app and then try your flow again. When you open Truecaller you can check the device logs to see if there is an issue with retrieving the apple-app-site-association file for it. See link: https://stackoverflow.com/a/40382040

abhinayVrm commented 6 years ago

Hi, When we swipe down there was no option to open in app. Also there is no problem in setting up the sdk with iOS project since it worked on some devices.

Truecaller version we will update u , adding navneet for the same.

Thanks.

On Feb 24, 2018 4:59 AM, "bi1zi1" notifications@github.com wrote:

Once you swipe down, do you get the option to "Open in App"? What is the version of the Truecaller app?

Also please try the following: Open the Truecaller app and then try your flow again. When you open Truecaller you can check the device logs to see if there is an issue with retrieving the apple-app-site-association file for it. See link: https://stackoverflow.com/a/40382040

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/truecaller/ios-sdk/issues/12#issuecomment-368168963, or mute the thread https://github.com/notifications/unsubscribe-auth/AjDxRHgKQsU2OqV4lbeaoX0-qItr1ldqks5tX0nqgaJpZM4SQuVZ .

bi1zi1 commented 6 years ago

Both Truecaller and the app containing the sdk need to be validated by iOS. If this fails for Truecaller then the users will not be able to validate themselves (the case in hand). If this fails for the app with the sdk, then the users will be able to validate themselves but will not be able to return to the original app afterwards.

This is per device (just like your case) and this is a "side-effect" of universal links.

sakshiGoel26 commented 6 years ago

HI, I am facing the same issue. @abhinayVrm were you able to solve it?

shahiankur commented 6 years ago

Facing the same issue, Please suggest a solution

TheSPST commented 4 years ago

any solution ?

parth0907 commented 3 years ago

Hi There,

Hope you are doing great!

The issue that you mention is due to an OS level restriction. In some cases the AASA file doesn't get's downloaded leading to this behaviour. I would request you to update our IOS SDK to it's latest version as we have gracefully handled this scenario now.

Please feel free to reach out to us via our support channel for a faster and dedicated response.

Regards, Parth