mikehardy / react-native-update-apk

Update apk from non-play store servers, and update ios from app store in React Native.
MIT License
195 stars 57 forks source link

Couldn't find meta-data for provider with authority ... #55

Closed valery-lavrik closed 2 years ago

valery-lavrik commented 2 years ago

I have a error: Couldn't find meta-data for provider with authority com.lavrik_comics What am I doing:

const RNUpdateAPK = NativeModules.RNUpdateAPK;

...
// my logic of checking the version and downloading the apk file
...

RNUpdateAPK.installApk(pathApk, RNUpdateAPK.packageName); // Couldn't find meta-data for provider with authority com.lavrik_comics

packageName is exactly what is specified in the manifest

What could be wrong? where to look?

mikehardy commented 2 years ago

Unfortunately no idea, and I can't provide support for integration issues with projects, I don't have that kind of time. I generic search for your error message appears to turn up lots of valid-looking resources, I'd start there:

https://search.brave.com/search?q=Couldn%27t+find+meta-data+for+provider+with+authority&source=desktop