android / input-samples

Multiple samples showing the best practices in input on Android.
Apache License 2.0
290 stars 268 forks source link

FileProvider uses the wrong authority so it cannot share files #17

Open c99koder opened 7 years ago

c99koder commented 7 years ago

The keyboard wont work because the FileProvider authority in the java file doesn't match the AndroidManifest.xml.

From AndroidManifest: android:authorities="com.example.android.commitcontent.ime.inputcontent"

From ImageKeyboard.java: private static final String AUTHORITY = "com.example.android.supportv13.sampleime.inputcontent";