File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ dependencies {
252
252
...
253
253
compile project(':react-native-sqlite-storage')
254
254
compile project(':sqlite-plugin-provider')
255
- // sqlite cipher support:
255
+ // To add sqlite cipher support:
256
256
compile project(':sql-cipher-plugin')
257
257
}
258
258
```
@@ -277,7 +277,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
277
277
.setBundleAssetName(" index.android.bundle" ) // this is dependant on how you name you JS files, example assumes index.android.js
278
278
.setJSMainModuleName(" index.android" ) // this is dependant on how you name you JS files, example assumes index.android.js
279
279
.addPackage(new MainReactPackage ())
280
- .addPackage(new SQLitePluginPackage ()) // register SQLite Plugin here
280
+ .addPackage(new SQLitePluginPackage ()) // register SQLite Plugin here. For SQLiteCipher support pass SqliteCipherConnectionProvider to PluginPackage.
281
281
.setUseDeveloperSupport(BuildConfig . DEBUG )
282
282
.setInitialLifecycleState(LifecycleState . RESUMED )
283
283
.build();
You can’t perform that action at this time.
0 commit comments