Adding "updates" to app.config causes app to fail

Hi,

After adding updates: { url: ... } to app.config.js my app shows error. Removing that and running expo start --dev-client -c solves the problem. I’ve been developing this app for months and AsyncStorage never presented this error. I’m using SDK 46.

Error on Android:

Fatal Exception: java.lang.IllegalArgumentException: the bind value at index 1 is null
       at android.database.sqlite.SQLiteProgram.bindString(SQLiteProgram.java:168)
       at android.database.sqlite.SQLiteProgram.bindAllArgsAsStrings(SQLiteProgram.java:204)
       at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:49)
       at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1546)
       at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1393)
       at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1264)
       at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1432)
       at com.reactnativecommunity.asyncstorage.AsyncStorageModule$1.doInBackgroundGuarded(AsyncStorageModule.java:132)
       at com.reactnativecommunity.asyncstorage.AsyncStorageModule$1.doInBackgroundGuarded(AsyncStorageModule.java:119)
       at com.facebook.react.bridge.GuardedAsyncTask.doInBackground(GuardedAsyncTask.java:36)
       at com.facebook.react.bridge.GuardedAsyncTask.doInBackground(GuardedAsyncTask.java:20)
       at android.os.AsyncTask$3.call(AsyncTask.java:394)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at com.reactnativecommunity.asyncstorage.SerialExecutor$1.run(SerialExecutor.java:25)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at java.lang.Thread.run(Thread.java:920)

Error on iOS:

 WARN  [AsyncStorage] Using undefined type for key is not supported. This can lead to unexpected behavior/errors. Use string instead.
Key passed: undefined

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.