andpor/react-native-sqlite-storage

Issue with test code

Opened this issue · 4 comments

I've created a new project and followed the steps to install / link this library.

The issue that I have is when I replace the code in index.ios.js with the example code:

https://gist.github.com/circuit-monkey/2562e02d4f3fc92e35bce1fa5dcc8df4

Then I get the following errors in the simulator:

image

changing like 9 to:

var React = require('react');

And line 21 to:

} = require('react-native');

allowed me to run the example code.

will do in upcoming days

Nevermind actually - I thought this issue was referring to the samples but it seems it refers to original test code. I will take a look.

This is fixed in 3.2.1 release.