[TIMOB-11199] Android: Contacts authorization implementation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-06T02:45:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 2.1.3, Release 3.0.0, Sprint 2012-20 API, 2012 Sprint 20 |
Components | Android |
Labels | api, module_media, parity, qe-testadded |
Reporter | Hieu Pham |
Assignee | Hieu Pham |
Created | 2012-09-27T21:19:03.000+0000 |
Updated | 2014-06-19T12:44:35.000+0000 |
Description
-Add contacts requestAuthorization and contactsAuthorization for parity with iOS.
1.Run:
Ti.API.info(Ti.Contacts.contactsAuthorization);
Ti.Contacts.requestAuthorization(function(callback) {
Ti.API.info(callback.success);
});
You should see:
3
true
PR https://github.com/appcelerator/titanium_mobile/pull/3070
Backport PR: https://github.com/appcelerator/titanium_mobile/pull/3072
Closing as fixed. Verified on: Titanium Studio, build: 2.1.2.201208301612 Titanium SDK, build: 2.1.3.v20120928124610; 3.0.0.v20120927181348 Android Emulator 2.2
Reopened to adjust remaining estimate.