Skip to content

Cannot log in users on iOS simulator with kinvey-nativescript-sdk #3481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Fatme opened this issue Mar 21, 2018 · 0 comments
Closed

Cannot log in users on iOS simulator with kinvey-nativescript-sdk #3481

Fatme opened this issue Mar 21, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@Fatme
Copy link
Contributor

Fatme commented Mar 21, 2018

Please, provide the details below:

Which platform(s) does your issue occur on?

iOS

Please tell us how to recreate the issue in as much detail as possible.

Steps to reproduce:

  1. Clone https://github.com/toddanglin/ns-fieldsvc-template
  2. Delete `app/App_Resources/iOS/app.entitlements file - mandatory step
  3. Modify config.ts in the app directory to provide the requested SDK API keys. To make testing easier you can use an app key of "kid_HJUbdabvM", an app secret of "4a1ef9127ce24912a23f792b22831daf", a username of "foo", and a password of "foo".
  4. Google Maps API can be obtained from https://developers.google.com/maps/documentation/javascript/get-api-key
  5. Run the app on an iOS simulator (iOS 10+) and attempt to log in using the credentials "foo" and "foo".

Expected Result
The user logs in successfully and navigates to another page.

Actual Result
An error, and this in the console.

CONSOLE LOG file:///app/login/login.component.js:25:24: Login Event
CONSOLE LOG file:///app/login/login.component.js:39:24: Attempt Login
CONSOLE WARN file:///app/login/login.service.js:19:29: Login failure. NSErrorWrapper: One or more parameters passed to a function were not valid
CONSOLE WARN file:///app/login/login.component.js:54:33: Login failed
@Fatme Fatme added the bug label Mar 21, 2018
@Fatme Fatme added this to the 4.0.0 milestone Mar 21, 2018
@Fatme Fatme self-assigned this Mar 21, 2018
Fatme added a commit that referenced this issue Mar 21, 2018
Fatme added a commit that referenced this issue Mar 21, 2018
Fatme added a commit that referenced this issue Mar 21, 2018
Fatme added a commit that referenced this issue Mar 21, 2018
Fatme added a commit that referenced this issue Mar 22, 2018
Fatme added a commit that referenced this issue Mar 22, 2018
@dtopuzov dtopuzov closed this as completed Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants