Troubleshooting
- Former user (Deleted)
- Former user (Deleted)
- Fawad Shaikh (Unlicensed)
- Deborah Cross (Unlicensed)
Problems starting greenID Mobile SDK
Issue | Platform | Resulting behaviour | Error reported | Suggested solution(s) | Documentation |
---|---|---|---|---|---|
GIDSDK does not show, no errors reported to the delegate | iOS | Nothing happens when you want to show the greenID SDK in your app. Nothing shows in the Xcode console logs. |
| iOS Integration (Start Up) | |
Initialisation error | iOS | GIDDelegate receives a handoff message: Error Domain: greenIDErrorDomain Code=-1009 UserInfo: { Localized Description: The SDK startup parameters were incorrect. Console log may contain: errorGIDErrorCode = “-1009” Console log may contain: [ERROR] Startup error: The GIDSDK parameter '<missing_parameter_name>' is empty or missing. Before starting GIDMainViewController, make sure you have set '<missing_parameter_name>'. | Error Code: -1009 | Add all required params to an NSDictionary for GIDMainViewController initWithConfig call.
| Configuration variables |
SIGABRT on startup | iOS | Your app crashes when you try to start the GIDSDK code. | Xcode will drop into a debugger. App running on a phone will crash back to the iOS home screen. | Check for missing frameworks in your app’s embedded frameworks:
| iOS Integration - Embedding |
Missing GIDResources bundle | iOS | GIDDelegate receives a handoff message: Error Domain: greenIDErrorDomain Code=-1008 Console log may contain: errorGIDErrorCode = “-1008” | Error Domain: greenIDErrorDomain Code=-1008 | Add GIDResources.bundle to host app’s ‘Copy Bundle Resources’ in the Build Phases menu. | iOS Integration - Resources |
Problems while running greenID Mobile SDK
Issue | Platform | Resulting behaviour | Error reported | Suggested solution(s) | Documentation |
---|---|---|---|---|---|
GIDSDK stops working - inactivity timeout | iOS | GIDDelegate receives a handoff message: Error Domain: greenIDErrorDomain Code= -1007 Console log may contain: [GID SDK] [ERROR] Inactivity Timeout. There has been no user interaction on the interface. | Error Code: -1007 | The GIDSDK will stop if there has been no user interaction for a set period of time (default is 5 minutes). Adjust GIDSDK init param “inactivityTimeoutSeconds” to better meet your use-case or add logic to your app to accommodate this error. | Configuration variables |
GIDSDK stops working - Network error | iOS | If the network is disconnected from the phone, GIDSDK will stop working, or show erratic behaviour. GIDDelegate receives a handoff message: Error Domain: greenIDErrorDomain Code= -1002 Console log may contain: errorGIDErrorCode = “-1002” Console log may contain: [ERROR] WebView error occurred trying to load page: Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." | Error Code: -1002 | The SDK needs a network connection for most of the process. If the device has no network, your app needs to handle this in didCompleteProcessWithPayload with a 'no network' handoff. | iOS Integration - Handoff |
GIDSDK finishes, but my app gets no handoff message | iOS |
| Make sure your host app has set up a Make sure you set the delegate for Make sure your Make sure your | iOS Integration - Handoff | |
GIDSDK is not logging anything GIDSDK is not logging enough | iOS |
|
| iOS Integration - Logging | |
GIDSDK is logging too much | iOS | When running your app in Xcode, the SDK is logging too much to the console. You would prefer it to be quieter. | Set the log level of the GIDMainViewController, by calling the
| iOS Integration - Logging | |
An error occured in the OCR process | IOS | errorFailureReason = "OCR results could not be sent, as the SDK internal parameters were missing."; message = "Handoff: Completed greenID process with result: Error"; status = Error; statusCode = "-1"; task = Handoff; | errorGIDErrorCode = -1003 statusCode = "-1"; | because when client initiate greenID SDK, the parameter selectedDocumentType is only "NATIONAL_ID_CARD" which should be "NATIONAL_ID_CARD.SG" | |
Workflow error | iOS | During the workflow, an unexpected server error has occurred, or the SDK reports that there is a server issue. GIDDelegate receives a handoff message: Error Domain: greenIDErrorDomain Code= -1006 Console log may contain: errorGIDErrorCode = “-1006” | Error Code: -1006 |
|
General questions about greenID Mobile
Issue | Platform | Resulting behaviour | Error reported | Suggested solution(s) | Documentation |
---|---|---|---|---|---|
Errors when submitting to App Store (iTunes Connect) | iOS | iTunes Connect will not allow your app on the App Store. It will not be validated and will not upload. | iTunes Connect or Xcode upload reports:
| GIDSDK and related frameworks should not contain any simulator code which will cause this issue. If you believe greenID Mobile is causing this issue in your app, please contact our team for support. Check any other frameworks you may have in your app, and if necessary strip the x86_64 and i386 simulator architectures from the binaries. | |
Where do I use the 'customer code'? | iOS Android | Unsure where to enter the 'customer code' when integrating GIDSDK into your app | The 'customer code' is only for use with the POC app. You can ignore it when building your own app. | ||
How long does greenID Mobile take? | iOS Android | Times to complete the greenID Mobile process will vary, depending on the network speed of the device being used, and document types used. For a typical application, approximately 1MB will be downloaded to start the process, and up to 3MB will be uploaded. Drivers licence tends to be quicker to upload than passport, due to the file sizes used. | |||
Does the country code affect the document types available? | iOS Android | The country code can affect minor parts of the workflow, depending on your customer configuration. | Contact the greenID Mobile team to get assistance with any configuration you would like done to your workflow. | ||
How to location permissions work in the SDK? | iOS Android | If the required permission keys are set in the host app’s .plist file (iOS) or Manifest file (Android), the GIDSDK will request permission and be able to query the device’s location. | If you want to gather location information about your users when they use greenID Mobile, you will need to have your app configured with the correct permissions. | ||
Is there a list of all configuration options for the SDK? | iOS Android | Documentation for configuring the SDK is available on the wiki in various places |
Home | greenID API | greenID Web | greenID Mobile | greenID Business | greenID Additional Services | Notification of Verification | Admin Panel Guide
If you can't find what you need here, email us at customer.support@gbgplc.com or log a ticket via our portal
On this page
greenID Mobile A-Z
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: