Mauker1 / MaterialSearchView

Android Search View based on Material design guidelines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't install 2 apps using MaterialSearchView on same device !!

hishambakr opened this issue · comments

Thanks for great work. I face a strange issue that I can't install my app on same device that have your demo app.

After investigation, I found this stack overflow link:
http://stackoverflow.com/questions/16267785/install-shows-error-in-console-install-failed-conflicting-provider

Because your library manifest has provider with:
android:authorities="br.com.mauker.materialsearchview.searchhistorydatabase"

because this value should be unicque, every device will have one app only that uses MaterialSearchView

Oh. When I was first writing this lib, I completely forgot about this issue. I believe I can't install more than one provider with the same authority. I guess I'll have to write a new method to access the internal db. Thanks for the report!