{"action":"created","issue":{"url":"https://api.github.com/repos/BlinkID/blinkid-phonegap/issues/95","repository_url":"https://api.github.com/repos/BlinkID/blinkid-phonegap","labels_url":"https://api.github.com/repos/BlinkID/blinkid-phonegap/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/BlinkID/blinkid-phonegap/issues/95/comments","events_url":"https://api.github.com/repos/BlinkID/blinkid-phonegap/issues/95/events","html_url":"https://github.com/BlinkID/blinkid-phonegap/issues/95","id":394320154,"node_id":"MDU6SXNzdWUzOTQzMjAxNTQ=","number":95,"title":"Front Camera open by default","user":{"login":"jassiwalia001","id":13376362,"node_id":"MDQ6VXNlcjEzMzc2MzYy","avatar_url":"https://avatars3.githubusercontent.com/u/13376362?v=4","gravatar_id":"","url":"https://api.github.com/users/jassiwalia001","html_url":"https://github.com/jassiwalia001","followers_url":"https://api.github.com/users/jassiwalia001/followers","following_url":"https://api.github.com/users/jassiwalia001/following{/other_user}","gists_url":"https://api.github.com/users/jassiwalia001/gists{/gist_id}","starred_url":"https://api.github.com/users/jassiwalia001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jassiwalia001/subscriptions","organizations_url":"https://api.github.com/users/jassiwalia001/orgs","repos_url":"https://api.github.com/users/jassiwalia001/repos","events_url":"https://api.github.com/users/jassiwalia001/events{/privacy}","received_events_url":"https://api.github.com/users/jassiwalia001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-27T07:38:49Z","updated_at":"2019-01-02T07:11:15Z","closed_at":null,"author_association":"NONE","body":"I need to scan with my front camera, is blinkid provides this kind of functionality to change the camera ?"},"comment":{"url":"https://api.github.com/repos/BlinkID/blinkid-phonegap/issues/comments/450798138","html_url":"https://github.com/BlinkID/blinkid-phonegap/issues/95#issuecomment-450798138","issue_url":"https://api.github.com/repos/BlinkID/blinkid-phonegap/issues/95","id":450798138,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc5ODEzOA==","user":{"login":"jcular","id":9075797,"node_id":"MDQ6VXNlcjkwNzU3OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/9075797?v=4","gravatar_id":"","url":"https://api.github.com/users/jcular","html_url":"https://github.com/jcular","followers_url":"https://api.github.com/users/jcular/followers","following_url":"https://api.github.com/users/jcular/following{/other_user}","gists_url":"https://api.github.com/users/jcular/gists{/gist_id}","starred_url":"https://api.github.com/users/jcular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcular/subscriptions","organizations_url":"https://api.github.com/users/jcular/orgs","repos_url":"https://api.github.com/users/jcular/repos","events_url":"https://api.github.com/users/jcular/events{/privacy}","received_events_url":"https://api.github.com/users/jcular/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T07:11:15Z","updated_at":"2019-01-02T07:11:15Z","author_association":"MEMBER","body":"Hi @jassiwalia001,\r\n\r\non iOS, if you are using `DocumentOverlaySettings` you should modify the [MBDocumentOverlaySettingsSerialization](https://github.com/BlinkID/blinkid-phonegap/blob/master/BlinkID/src/ios/sources/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.m#L30) in the following way:\r\n```objc\r\n-(MBOverlayViewController *) createOverlayViewController:(NSDictionary *)jsonOverlaySettings recognizerCollection:(MBRecognizerCollection*)recognizerCollection delegate:(id<MBOverlayViewControllerDelegate>) delegate {\r\n    // no settings deserialized at the moment\r\n    MBDocumentOverlaySettings *sett = [[MBDocumentOverlaySettings alloc] init];\r\n    sett.cameraSettings.cameraType = MBCameraTypeFront;\r\n    self.delegate = delegate;\r\n    return [[MBDocumentOverlayViewController alloc] initWithSettings:sett recognizerCollection:recognizerCollection delegate:self];\r\n}\r\n```\r\n\r\nKind regards,\r\nJure"}}
{"actor":{"display_login":"jcular"}}