Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

SecurityException while binding #102

Closed
akarimova opened this issue Jan 22, 2014 · 0 comments
Closed

SecurityException while binding #102

akarimova opened this issue Jan 22, 2014 · 0 comments
Labels
Milestone

Comments

@akarimova
Copy link
Contributor

If an openstore (with a custom permission to access its service) was installed after an application that uses OpenIab, SecurityException is thrown.
01-22 12:56:11.134 31577-31759/com.company.app E/AndroidRuntime﹕ FATAL EXCEPTION: openiab-setup
java.lang.SecurityException: Not allowed to bind to service Intent { act=org.onepf.oms.openappstore.BIND cmp=com.yandex.store/.service.YandexStoreService }
at android.app.ContextImpl.bindService(ContextImpl.java:1780)
at android.app.ContextImpl.bindService(ContextImpl.java:1751)
at android.content.ContextWrapper.bindService(ContextWrapper.java:480)
at org.onepf.oms.OpenIabHelper.discoverOpenStores(OpenIabHelper.java:435)
at org.onepf.oms.OpenIabHelper$1.run(OpenIabHelper.java:317)
In my case the openstore is Yandex.Store.

akarimova added a commit to oorlov/OpenIAB that referenced this issue Jan 22, 2014
akarimova added a commit that referenced this issue Jan 31, 2014
if a store (it declares a custom permission for its billing service) was installed after the app, se is thrown
oorlov pushed a commit that referenced this issue Feb 11, 2014
… installed on device after an app with OpenIAB
@oorlov oorlov closed this as completed Feb 11, 2014
@oorlov oorlov added this to the 0.9.4 milestone Mar 5, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants