Page 1 of 1
Address book api and local storage
Posted: Tue Jun 03, 2014 7:03 am
by Sjef Moling
My app got rejected by Apple because two issues
the address book api is included but not used:
[quote:]
"We found that the app uses the Address Book API, which allows access to the users Address Book database. This feature is not fully implemented within the app. It would be appropriate to fully use this feature, or remove it's use. If you believe that this feature is being correctly, it would be appropriate to advise us where the feature is used in the app."
[/quote]
How to disable the address book api?
the app stores too much data
[quote:]
"Data that can be recreated but must persist for proper functioning of your app - or because customers expect it to be available for offline use - should be marked with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute."
[/quote]
The app stores data (images) for offline use in a nosql database. How to fix this issue?
Address book api and local storage
Posted: Tue Jun 03, 2014 9:47 am
by Evgene Karachevtsev
Hello Sjef,
Please clarify, have you created contact_service in your app?
Please, look at this link about "do not back up" attribute: http://stackoverflow.com/a/21429129
Address book api and local storage
Posted: Tue Jun 03, 2014 9:51 am
by Sjef Moling
Hi Evgene,
Thanks for the link on do-not-backup
I did not create contact_service or do anything concerning contacts/addressbook. So I don't know how the api ended up in the app.
Address book api and local storage
Posted: Wed Jun 04, 2014 3:56 pm
by Kateryna Grynko
Hi Sjef,
You can access address book this way:
http://docs.phonegap.com/en/1.4.1/pho...
Address book api and local storage
Posted: Wed Jun 04, 2014 4:11 pm
by Sjef Moling
Hi Katya,
thanks for the respons. I don't want to use the address book, but according to apple the api is included in the .ipa source. Probably because I added and removed the contacts service and there is something left in the source. I like to remove this reminiscent parts, but don't know how.
Address book api and local storage
Posted: Wed Jun 04, 2014 7:04 pm
by Alena Prykhodko
Hello,
Please try to delete the next code lines in config.xml file:
precode
<feature name="Contacts">
<param name="ios-package" value="CDVContacts" />
</feature>
/code/pre
Address book api and local storage
Posted: Wed Jun 04, 2014 7:17 pm
by Sjef Moling
thanks. We'll give it a try.
Address book api and local storage
Posted: Mon Jun 16, 2014 11:27 am
by Sjef Moling
It got passed the revision and the app is in the store now. Thanks.
Address book api and local storage
Posted: Mon Jun 16, 2014 11:31 am
by Evgene Karachevtsev
Hello Sjef,
Thank you for the update. Do not hesitate to contact us if you need any further help.