Skip to content

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

Closed
@Fatme

Description

@Fatme

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions