basic React Native SQLite script returning undefined which causes error

后端 未结 3 1697
醉酒成梦
醉酒成梦 2021-01-27 12:14

I\'m trying to learn to use react-native-sqlite-storage as described on this page here:

https://github.com/andpor/react-native-sqlite-storage

I am working on a w

3条回答
  •  不思量自难忘°
    2021-01-27 12:26

    You need change MainApplication.java with:

    import org.pgsqlite.SQLitePluginPackage;

    and

    in getPackages:

    new SQLitePluginPackage()

提交回复
热议问题