Technical Manual Login for ios & Android

Similar documents
Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

Key-Systems Registrar Plug-in PBA Configuration Guide Revision 1.1

MobileLink User Guide

Contents First Time Setup... 2 Setting up the Legal Vault Client (KiteDrive)... 3 Setting up the KiteDrive Outlook Plugin Using the Legal Vault

Creating Home Directories for Windows and Macintosh Computers

RESCO MOBILE CRM USER GUIDE. Access your CRM data on any mobile platform ipad, iphone, Android, Windows Phone or Win XP/Vista/7/8

RESCO MOBILE CRM QUICK GUIDE. for MS Dynamics CRM. ios (ipad & iphone) Android phones & tablets

Knappsack ios Build and Deployment Guide

Kony MobileFabric Messaging. Demo App QuickStart Guide. (Building a Sample Application

ios App for Mobile Website! Documentation!

Description of service Mobile Dialer App

Initial DUO 2 Factor Setup, Install, Login and Verification

Amazon WorkMail. User Guide Version 1.0

Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04

Kaspersky Password Manager

Android Setup Phase 2

How To Customize An Orgsync App On Anorus Mobile Security Suite On A Microsoft Ipad Oracle 2.5 (Ios) On A Pc Orca 2.2 (Iphone) On An Android Orca2 (Ip

How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For

VMobile Talk User Guide

AVG Business SSO Partner Getting Started Guide

Installing the Android SDK

Remote Desktop Solution, (RDS), replacing CITRIX Home Access

Mocean Android SDK Developer Guide

Novell Filr 1.0.x Mobile App Quick Start

UP L18 Enhanced MDM and Updated Protection Hands-On Lab

Mobile Labs Plugin for IBM Urban Code Deploy

Tag Specification Document

Login with Amazon Getting Started Guide for Android. Version 2.0

Bitrix Site Manager ASP.NET. Installation Guide

GO!Enterprise MDM Device Application User Guide Installation and Configuration for ios with TouchDown

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions

ID TECH UniMag Android SDK User Manual

EMR Link Server Interface Installation

How To Use Syntheticys User Management On A Pc Or Mac Or Macbook Powerbook (For Mac) On A Computer Or Mac (For Pc Or Pc) On Your Computer Or Ipa (For Ipa) On An Pc Or Ipad

Follow these steps to setup your Exchange ActiveSync account to your ios device:

USER GUIDE Deploying Your Application to WinHost

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

01. Introduction of Android

Online Banking Upgrade FAQs

Outlook Web App (Online)... 3 Outlook 2013 (Desktop) Apple Mail Mobile Devices Android iphone... 40

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Operate Backup Data. This how-to document will walk you through how to acquire and view your (M)SDS collection from the backup we send you.

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Akin Gump Strauss Hauer & Feld LLP Remote Access Resources (DUO)

How to create an Expense Report through iexpense in the iphone Mobile App

Introducing Xcode Source Control

Novell Filr. Mobile Client

Advertiser Campaign SDK Your How-to Guide

Universal Mobile Ads is a plugin for Unreal Engine 4 that enables the MoPub ad mediation system for ios & Android.

Overview of Web Services API

Mobile and Text Customer Experience Online Banking Training Guide. i 2015 ChoiceOne Bank

Salesforce Mobile Push Notifications Implementation Guide

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

Preparing your MAC Computer to access QuickBooks Hosted with the Citrix Receiver or Online Plugin

OSF INTEGRATOR for. Integration Guide

Google Apps for Education at UTK

Epic Remote Access for Mobile Devices FAQ and Setup

GETTING STARTED. AppSher In-App Analytics for ios

Tutorial: BlackBerry Application Development. Sybase Unwired Platform 2.0

Using LDAP Authentication in a PowerCenter Domain

Cloud Services MDM. Control Panel Provisioning Guide

How To Use Titanium Studio

Quick Start Guide to Logging in to Online Banking

Department of Veterans Affairs Two-Factor Authentication MobilePASS Quick Start Guide November 18, 2015

FAX SERVER. User manual. Stonefax user guide

Using Devices. Chapter 3

Novell ZENworks Asset Management 7.5

Cloud Administration Guide for Service Cloud. August 2015 E

OneDrive for Business User Guide

WatchDox Administrator's Guide. Application Version 3.7.5

APP ANALYTICS PLUGIN

Sophos Mobile Control Startup guide. Product version: 3

Spring Design ScreenShare Service SDK Instructions

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

Apple OS / ios Installation Guide Includes MAC OSx and ios based devices

Board also Supports MicroBridge

Welcome to GIFTS Online Mobile... 3

Tutorial on OpenCV for Android Setup

Remote Service Manager Installation & Configuration Guide

BT Lancashire Services

Engage ios App Administrator s Guide

File Share Navigator Online 1

Your First App Store Submission

BusinessObjects Enterprise XI Release 2

Operational Decision Manager Worklight Integration

TakeMySelfie ios App Documentation

POOSL IDE Installation Manual

Sage CRM. Sage CRM 7.3 Mobile Guide

Sophos Mobile Control Startup guide. Product version: 3.5

SDK Code Examples Version 2.4.2

Kaspersky Security 10 for Mobile Implementation Guide

Smarter Balanced Assessment Consortium:

AUT OneDrive for Business. Instructions for Using OneDrive on Windows Platform

MGC WebCommander Web Server Manager

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

BuzzTouch ios Push Notifications

Using ADOBE LIVECYCLE ES4 Connector for MICROSOFT SHAREPOINT

Mobile application testing is a process by which application software developed for hand held mobile devices is tested for its functionality,

Transcription:

Technical Manual Login for ios & Android Version 15.1 November 2015

Index 1 The DocCheck App Login....................................... 3 1.1 App Login Basic The classic among apps.......................... 3 1.2 App Login Economy Sort through your users........................ 4 1.3 App Login Business Get to know your users.........................4 2 Implementing a DocCheck Login.................................. 5 2.1 Implementation within a native ios app............................. 6 2.1.1 Add Antwerpes.framework..................................6 2.1.2 Modify controller....................................... 7 2.1.3 Configuration for ios9.................................... 9 2.1.4 Customise login interface.................................. 9 2.2 Implementation within a native Android app......................... 10 2.2.1 Add Library Project..................................... 10 2.2.2 Integrating DocCheck Login Application......................... 12 2.3 Implementation within a Hybrid app.............................. 13 2.3.1 Setup............................................. 13 2.3.2 Configuration for ios9................................... 14 2.3.3 Invoking the DocCheck login form............................ 15 2.3.4 Sending a request from an own form........................... 15 2.4 Development and testing environment............................ 16 2.4.1 ios (Xcode) Devices/Versions.............................. 16 2.4.2 Android Devices/Versions................................ 16 3 Your contact............................................. 17 2

1 The DocCheck App Login With the DocCheck App Login you can conveniently conform your medical applications to your needs while making them healthcare compliant (HCC). The DocCheck App Login can be used with either ios or Android for the purpose of authenticating a user's professional affiliation - you can thereby direct access of different profession groups to your app via our CRM facility DocCheckCReaM (https://crm.doccheck.com/com/) Please note: You will require Mobile Login Framework for integration of the DocCheck Login. Please contact us for assistance with this. The DocCheck App Login is offered in three variants: 1.1 App Login Basic The classic among apps Integration of login via the framework supplied by us Professional group checking and filtering via DocCheck CReaM 1. to 3. login: 350* 4. to 6. login: 315* + 250 setup fee * Prices apply per calendar year, app, and OS. 3

1.2 App Login Economy Sort through your users All elements of the Basic App Login Using the unique key you can recognise your users anonymously at their next visit Easy access for your company's employees, while at the same time excluding competitors 1. to 3. login: 950* 4. to 6. login: 855* + 350 setup fee 1.3 App Login Business Get to know your users All elements of the Basic and Economy App Logins Personal data submitted following consent from the user, so that you can construct your own user database Easy access for your company's employees, while at the same time excluding competitors 1. to 3. login: 1,950* 4. to 6. login: 1,755* + 500 setup fee * Prices apply per calendar year, app, and OS. 4

2 Implementing a DocCheck Login Please note: You will require the matching ios or Android framework when implementing the DocCheck Login into your app. Please contact us for assistance with this. In order to ensure smooth integration and functioning always adhere to using the respective framework. Before you can implement the DocCheck Login in your app, you will need to set up a new login in CReaM (http://crm.doccheck.com/com/). For detailed instructions please read the technical handbook under http://biz.doccheck.com/com/services/passwordprotection/ (chapter 2.2.3). When a new login has been created, please add the bundle identifier (for ios) or the package name (for Android) in the destination URL. This process in general runs as follows: 5

2.1 Implementation within a native ios app We recommend that the latest Xcode version of the framework always be used with an ios app. 2.1.1 Add Antwerpes.framework In order to be able to use the DocCheck Login within your app, first you will need to add the Antwerpes.framework to your project. To do this, click using the right mouse button "Frameworks" "Add" "Existing Files...". 6

Navigate to the directory in which you have unpacked the Antwerpes.framework folder. Insert a tick in "Copy items if needed". Then select the framework and click on "Add". 2.1.2 Modify controller First, create a new login in your CreaM account (see point 2 or the technical manual). During configuration, you will receive the login ID. The app ID is then to be entered in the start and destination URL fields. Import the Antwerpes.framework into the.h file of a class (e.g. a view controller) and add the DocCheckLoginDelegate protocol. An example of the class DocCheckLoginTestViewController.h: #import <Antwerpes/APDocCheckLogin.h> @interface DocCheckLoginTestViewController : UIViewController<DocCheckLoginDelegate> { } @end 7

In order for the DocCheck login form to be shown, the following code must be used (for example in an IBAction): - (IBAction) startlogin { APDocCheckLogin*dcl = [APDocCheckLogin sharedinstance]; dcl.loginid= @"1234567890123"; // Your DocCheck Login ID dcl.delegate=self; // Available languages: de, com, es, fr, nl, it dcl.language = @"de"; // Adds the DocCheck Login to your view self.view addsubview:dcl.view]; } In addition, the following DocCheckLoginDelegates methods need to be implemented: - (void)doccheckloginsuccessful; Invoked as soon as the login is successfully concluded. Now the program can be run as normal. The DocCheck Login view will be removed on its own. - (void)doccheckloginfailedwitherror:(nserror * ) error; Invoked when the login fails because of a lost internet connection. The users should be informed about the error, and any error should be dealt with appropriately. The following DocCheckLoginDelegates methods can be optionally implemented: - (void) docchecklogincanceled; Invoked when the login is cancelled by the user manually by using via the "back" arrow. - (void) doccheckloginreceiveduserinfo: (NSDictionary * )userinfo; Invoked after the login has been completed successfully. userinfo contains detailed information on the user profile where the user has previously consented to the use of the relevant data in his/her profile settings. 8

2.1.3 Configuration for ios9 Due to new restrictions in ios9, it's necessary to define an appropriate exception, so that the connection to DocCheck can be established. Therefore ensure that the following entries are present in the Info.plist file of your ios project: <dict> <key>nsexceptiondomains</key> <dict> <key>doccheck.com</key> <dict> <key>nsincludessubdomains</key> <true/> <key>nsexceptionallowsinsecurehttploads</key> <true/> <key>nsexceptionrequiresforwardsecrecy</key> <false/> <key>nsexceptionminimumtlsversion</key> <string>tlsv1.2</string> <key>nsthirdpartyexceptionallowsinsecurehttploads</key> <true/> <key>nsthirdpartyexceptionrequiresforwardsecrecy</key> <false/> <key>nsthirdpartyexceptionminimumtlsversion</key> <string>tlsv1.2</string> <key>nsrequirescertificatetransparency</key> <false/> </dict> </dict> </dict> 2.1.4 Customise login interface Please note: So that we can also modify the login interface of your app for you, the associated special (as specified by the licence model) needs to be activated by DocCheck. For this reason please let us know the ID of your DocCheck Login and your AppID (bundle identifier). 9

2.2 Implementation within a native Android app When using the DocCheck Login the calling app has to integrate the library project "DocCheckLogin". The Android project DocCheckLoginTest is present as a supplement to DocCheckLogin Library as an exemplar, so as to make the integration and invoking of the login more clearly understandable. 2.2.1 Add Library Project In order to be able to use the DocCheck Login within your app, you must first add the Library Project to your project. Right-click in the project explorer on your project and select Properties. 10

In the next window, select the submenu Android. Click in the section library on the "Add " -button. Select DocCheck Login Library project from the list. Should the project not appear in the list, make sure that the project has been placed in your workspace. Carry out your selection. 11

2.2.2 Integrating DocCheck Login Application Introductory remarks: The package identifier (e.g. com.example.app) used for for the application must match that deposited with DocCheck Library project includes dcview.xml, this name is therefore reserved for the DocCheck Login and may not be used in your own project The following entries must be additionally supplied in the Android manifest file in order to use DocCheck Login: <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.access_network_state"/> <activity android:name="com.doccheck.login.android.docchecklogin" android:configchanges="orientation keyboard keyboardhidden"/> The following entries as well as the following code snippets can also be taken from the accompanying sample project. Definition of the interface: package com.doccheck.login.android.test; public interface DCTestActivityInterface { public static final String loginid = "Your login id"; public static final String templatename = "s_mobile"; public static final int SHOW_DC_LOGIN = 1; public static final String CONST_LOGINID = "loginid"; public static final String CONST_TEMPLATENAME = "templatename"; public static final String CONST_LANGUAGE = "lang"; } Invoking the Library Project from within the app: Intent i = new Intent(DocCheckLogin2TestActivity.this, DocCheckLogin.class); i.putextra(const_loginid, loginid); i.putextra(const_templatename, templatename); i.putextra(const_countrycode, selectedlang); startactivityforresult(i, SHOW_DC_LOGIN); DocCheckLogin2TestActivity.this designates the invoking activity and must be adapted accordingly to the relevant project. DocCheckLogin.class is the login activity of the library. The country code is selected in the sample project via a spinner, it may of course however also be given in other ways. Valid language codes include de, com, es, fr, nl, it. In order to evaluate the result of the login, the method onactivityresult must be implemented. The login result is read via data.getbooleanextra ("LOGIN_RESULT", false). Additional parameters (e.g. title, first name, surname, etc.) are read via data.getserializableextra ("URLPARAMS"). Access to individual parameters is implemented as follows: String anrede = paramsmap.get("dc_anrede").get(0); 12

One of the additional parameters needs to be checked against zero, since a valid login does not have to necessarily involve a parameter. This is the case where the page is visited anonymously (see sample project, class DocCheckLogin2Activity.java, method onactivityresult). The following parameters can be read (the requisite here is the Business License, see 1.3): Appid dc_anrede, dc_gender, dc_titel, dc_vorname, dc_name dc_strasse, dc_plz, dc_ort, dc_land dc_beruf, dc_fachgebiet, dc_email 2.3 Implementation within a Hybrid app 2.3.1 Setup The basis will be hybrid app development, in this case via Cordova. Please note: For the implementation of a hybrid app the respective plugin will be required. Please contact us about this. 1. Unzip the plugin archive in a location of your choice. 2. The adding process does not differ from that of other CordovaPlugins. It should however be ensured that the correct local path gets specified. Switch from the command line in your project directory and carry out the following command: cordova plugin add /path/to/local/plugincopy 3. After installation, dclogin.js must be referenced in the index.html: <script type="text/javascript" src="js/dclogin.js"></script> 13

2.3.2 Configuration for ios9 Due to new restrictions in ios9, it's necessary to define an appropriate exception, so that the connection to DocCheck can be established. Therefore ensure that the following entries are present in the Info.plist file of your ios project: <key>nsapptransportsecurity</key> <dict> <key>nsexceptiondomains</key> <dict> <key>doccheck.com</key> <dict> <key>nsincludessubdomains</key> <true/> <key>nsexceptionallowsinsecurehttploads</key> <true/> <key>nsexceptionrequiresforwardsecrecy</key> <false/> <key>nsexceptionminimumtlsversion</key> <string>tlsv1.2</string> <key>nsthirdpartyexceptionallowsinsecurehttploads</key> <true/> <key>nsthirdpartyexceptionrequiresforwardsecrecy</key> <false/> <key>nsthirdpartyexceptionminimumtlsversion</key> <string>tlsv1.2</string> <key>nsrequirescertificatetransparency</key> <false/> </dict> </dict> </dict> 14

2.3.3 Invoking the DocCheck login form After that, the login may be invoked. The following is an example of usage: window.dclogin("1234567890000", "de", function(result) { if(result == 1) alert("logged in!"); else if(result == 0) alert("not logged in!"); }); The parameters appear as follows: dclogin(loginid, countrycode, callback) loginid The Login ID provided by DocCheck countrycode "de", "com", "es", "fr", "nl" or "it" (indicated at least in the native implementation as valid values). callback A function in which the client can accommodate his/her own logic. The parameter (as indicated in the above example result) gives information here about whether the login was successful. A value of 1 represents a successful login, 0 represents failure. 2.3.4 Sending a request from an own form Should a separate form have been created for the DocCheck Login, a function is available to deal with the necessary login request. window.dcloginrequest("1234567890000", function(result) { if(result) alert("logged in!"); else alert("not logged in!"); }); The parameters appear as follows: dcloginrequest(loginid, callback <, usernameid, passwordid>) loginid The Login ID provided by DocCheck callback A resultparameter of Boolean type is conveyed to the callback. If the result is true, the login attempt was successful, false means the attempt failed. usernameid, passwordid If these parameters are not conveyed, the plugin expects standard form fields with the IDs dc_username and dc_password. Should the input fields in the form not have been filled with other IDs then the appropriate IDs need to be given here, so that the values from plugin can be read and evaluated. Instead of giving IDs, names can be used in order to identify the input fields. 15

2.4 Development and testing environment Xcode 6.2 Eclipse Luna 2.4.1 ios (Xcode) Devices/Versions iphone 4 (ios 7) iphone 5 (ios 8) iphone 6 (ios 8) iphone 6 Plus (ios 8) ipad Air (ios 8) ipad 4 (ios 8) 2.4.2 Android Devices/Versions HTC Desire (Android 2.3) Samsung Galaxy S4 Mini (Android 4.4) HTC One (Android 5.0) Nexus 9 (Android 5.0) 16

3 Your contact Cem Aksoy Technical Product Manager Björn Brandt Technical Product Manager +49(0)221.9 20 53-594 cem.aksoy@doccheck.com +49(0)221.9 20 53-595 bjoern.brandt@doccheck.com DocCheck Medical Services GmbH Vogelsanger Str. 66, 50823 Köln www.doccheck.com/com/ 17