remobile / react-native-cache-image

MIT License
161 stars 20 forks source link

1.0.2 breaks #9

Open senthilsivanath opened 7 years ago

senthilsivanath commented 7 years ago

Using following versions "@remobile/react-native-cache-image": "1.0.2", "@remobile/react-native-cordova": "1.1.0", "@remobile/react-native-sqlite": "1.0.2",

i think they are latest, i am getting the following error [tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: Sorry first openDatabase argument must be an object

lodarki commented 7 years ago

I checked the code of SQLitePlugin.js. Then I found that the method 'SQLitePlugin' need the param 'openargs' what should be an object like '{name: 'cache_image'...}' instead of a String as "cache_image". So I think the Version of react-native-sqlite is too high.