Odoo-mobile / framework

Odoo Mobile Framework
https://play.google.com/store/apps/dev?id=8607973775002477408
Other
327 stars 374 forks source link

java.lang.SecurityException #303

Closed mikedream89 closed 7 years ago

mikedream89 commented 7 years ago

hi java.lang.SecurityException caller uid 10306 is different than the authenticator's uid com.odoo.core.support.OUser.fillFromAccount(OUser.java:58) why some phones have this SecurityException, some phones no ? thanks @dpr-odoo

dpr-odoo commented 7 years ago

@mikedream89 With odoo apps (build with framework) each application share same user (auth type) and when different application build on different machine, uid for that app is different. So when app try to get details from user object it throws SecurityException with message caller uid 10306 is different than the authenticator's uid

Solution: Try to build on same machine or use same KeyStore (Signed apk with same keystore) for each of the application will solve this issue.

mikedream89 commented 7 years ago

ok thanks @dpr-odoo