sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
732 stars 778 forks source link

QR Code for SAP Mobile Cards (iOS) #4146

Closed takismart closed 5 years ago

takismart commented 5 years ago

Tutorial: Create SAP SuccessFactors Timesheet and To Dos Card https://developers.sap.com/tutorials/cp-starter-digitalexp-mobilecards-2-create.html

Step 4: Configure SAP Mobile Cards client

After scan QR code on my iphone, the error message 'Safari cannot open the page because the address is invalid'

QR Code Address: com.sap.content2go://configure?serverURL=https://pXXXXXXXXXXtrial-dev-com-sap-mobile-platform-cards.cfapps.eu10.hana.ondemand.com&oauthClientId=125a64a9-f5d5-4f2a-a89e-7ef6122583e2&oauthEndpoint=https://pXXXXXXXXXXtrial-dev-com-sap-mobile-platform-cards.cfapps.eu10.hana.ondemand.com

jitendrakansal commented 5 years ago

@takismart do you already have "sap mobile cards" app (https://apps.apple.com/us/app/sap-content-to-go/id1168110623) installed on your iphone?

takismart commented 5 years ago

Hi @jitendrakansal, thank you for your respose. I installed "sap mobile cards" app to my iPhone and scan the QR code, now I get the error message 'Cannot connect. Please check server URL or email and OAuth client ID. I am pretty sure that my e-mail is correct.

jitendrakansal commented 5 years ago

@takismart i tried with my P-user trial account, scanned the QR code and i got the same error. And then i noticed that required mobile services instance was in "stopped" mode, when i restarted it, qr scan worked.

Just in case you want to check it once:

  1. go to https://cockpit.hanatrial.ondemand.com/cockpit/ > click Enter trial account
  2. click subaccount (my case- its "trial")
  3. click on "spaces" >> click "dev"
  4. check the state for "BindMobileApplicationRoutesToME" application, if it is in "stop" mode, start it.

and then scan it again. You should see a page where it asks you to enter your SCP account email address and password. Let me know your findings.

takismart commented 5 years ago

Hi @jitendrakansal, Thank you for your quick response. I started "BindMobileApplicationRoutesToME" application Image 4 However, I still got the same error message. Is there any security configuration I missed? Please advise. Screenshot 2019-11-06 at 12 07 07 PM

jitendrakansal commented 5 years ago

@takismart strange, if you are ok, we have a screen sharing session to troubleshoot this issue. Can you drop me an email (jiendra.kansal@sapdotcom) with possible timeslots as per your availability. I am in CET timezone.

takismart commented 5 years ago

Hi @jitendrakansal , Thank you for your help. After yesterday's sharing session, I tried SAP Mobile Card on my old iPhone, and it works. I can see the timesheet card on my SAP Mobile Cards APP. I tried the same process on other iPhone - the access is failed as well - same issue as my new iPhone. I guess the issue might be caused by iOS version:

jitendrakansal commented 5 years ago

@takismart i can access mobile cards on my iPhone (iOS 13.2). I will check with development colleagues if there is any issue with iOS version 13.1.3

takismart commented 5 years ago

Hi Jitendra,

Thank you for your email.

I upgraded my iOS to 13.2.2 and SAP Mobile Cards worked! I guess there are some issues with iOS version 13.1.3.

Best regards, Judy

On Mon, 11 Nov 2019 at 23:00, Jitendra Kansal notifications@github.com wrote:

@takismart https://github.com/takismart i can access mobile cards on my iPhone (iOS 13.2). I will check with development colleagues if there is any issue with iOS version 13.1.3

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SAPDocuments/Tutorials/issues/4146?email_source=notifications&email_token=ANUCDJDHAOUDXKGIK7PKBXLQTEUKRA5CNFSM4JIOD3RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWJAGI#issuecomment-552374297, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUCDJDIBXVHP5UXFIHQTHTQTEUKRANCNFSM4JIOD3RA .

Aemilia-VonWunderland commented 4 years ago

Hi all, I met the same issue! My iOS version is 13.4.1. But it worked on it before, and I now use the same device, it is not working... Can anyone tell me how to fix it?

Aemilia-VonWunderland commented 4 years ago

Hi all, I met the same issue! My iOS version is 13.4.1. But it worked on it before, and I now use the same device, it is not working... Can anyone tell me how to fix it?

I upgraded to 13.5.1, still not working

sandeep-tds commented 4 years ago

Hi @Aemilia-VonWunderland,

Thank you so much for raising the issue. Can you please try to uninstall the app, reinstall it and try it again?

Warm Regards Sandeep T D S