React-native-document-picker: Exception 'Application initializing document picker is missing the iCloud entitlement

Created on 12 May 2018  路  9Comments  路  Source: rnmods/react-native-document-picker

Hi
i am getting this exception on ios.
Exception 'Application initializing document picker is missing the iCloud entitlement. Is com.apple.developer.icloud-container-identifiers set?' was thrown while invoking show on target RNDocumentPicker with params (
{
filetype = (
"com.adobe.pdf"
);
},
is there anyway to disable icloud entitlements as i do not need icloud documents ?

Most helpful comment

Why is iCloud needed?

All 9 comments

No. iCloud entitlements are required for the Document Picker to work on iOS. And where the documents come from are up to iOS and the user.

My requirements is, i have to read documents only from phones memory.

When you use a native document picker you don't get to choose what the source is, so you're going to have to come up with some other solution or drop that requirement.

@khushboogupta1 The readme has a screenshot showing how to enable iCloud entitlements.

https://github.com/Elyx0/react-native-document-picker#reminder

@dantman I am attaching a screenshot where icloud is not an option in my settings.

screen shot 2018-05-25 at 12 23 26 pm

@khushboogupta1 Have you signed up for the developer program and setup XCode to use that team so you can publish the app? i.e. You're not using a "Personal" team?

@dantman yes i am using "Personal" team. Is that, it doesn't work with personal team and i have to signup?

@khushboogupta1 You cannot setup iCloud entitlements on a personal team. You need an actual account with the developer program in order to use the iOS document picker.

Why is iCloud needed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rajeshkos picture rajeshkos  路  6Comments

johuder33 picture johuder33  路  5Comments

stsiushkevich picture stsiushkevich  路  7Comments

kalyanijamunkar10 picture kalyanijamunkar10  路  5Comments

St1ma picture St1ma  路  5Comments