SalesforceLabs / react.force

3 stars 5 forks source link

SQLite error (file is encrypted or is not a database) when running on physical Android device #6

Closed pedramsaleh closed 7 years ago

pedramsaleh commented 7 years ago

I get a strange error for SQLite when running my project on a physical device (Samsung tablet). I'm not using encryption, just regular SmartStore. The project does not produce the error when running on an emulator.

combine_images

Any indication on why it would produce this on a physical device?

bhariharan commented 7 years ago

@pedramsaleh Could you try a different device, such as a Nexus or a Pixel. Some vendors fork Android and this might cause device specific issues.

pedramsaleh commented 7 years ago

Doesn't give that error on my phone (Moto X, which is close to stock Android). So it seems like it's perhaps a compatibility issue between SmartStore and the Samsung tablet then? The model is Galaxy Tab S (SM-T800).

bhariharan commented 7 years ago

We don't do anything special that's device specific. We use standard APIs for encryption and decryption. Looks like that specific device has something going on.