[Error: database or disk is full (code 13 SQLITE_FULL)]
// error database or disk is full code 13 sqlite full react native
// 1. In your project's android directory, locate root build.gradle file. Add Kotlin dependency to the buildscript:
buildscript {
ext {
// other extensions
+ kotlinVersion = '1.4.21'
}
dependencies {
// other dependencies
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
// 2. In the same directory (normally android) locate gradle.properties file (if does not exists, create one) and add the line:
AsyncStorage_useNextStorage=true
AsyncStorage_kotlinVersion=1.4.21
AsyncStorage_db_size_in_MB=100
// 3. after all setup run following command
$ cd android
$ ./gradlew clean
// when gradlew clean completed run following command
$ cd ../
$ npx react-native run-android
// All Done happy coding
url : https://react-native-async-storage.github.io/async-storage/docs/advanced/db_size/#increase-limit