v1.0.1
版本发布时间: 2017-06-20 16:32:03
Tencent/wcdb最新发布版本:v2.1.7(2024-08-18 21:23:56)
iOS
- Add CocoaPods support.
- Add iOS 7 and macOS 10.9 support. Apps using WCDB can target iOS 7 now.
- Fix an issue that
[WCTDatabase canOpen]
never return YES. - Fix an issue that the global tracer return some odd values.
- Add
@autoreleasepool
inrunTransaction
to avoid OOM.
Android
- Add
x86_64
ABI support. - Publish debug version of AAR and native symbols. To reference debug version of WCDB library, modify your
build.gradle
dependencies {
// Append ":debug@aar" to reference debug library.
compile 'com.tencent.wcdb:wcdb-android:1.0.1:debug@aar'
}
- Device-locking is available in cipher options. Databases created with device-locking enabled can be only accessed in the same device where the databases are created. Device-locking is currently in alpha stage. You can enable it with the following code:
SQLiteCipherSpec cipher = new SQLiteCipherSpec()
// add the following line to enable device-locking
.setCipher(SQLiteCipherSpec.CIPHER_DEVLOCK);
SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(path, key, cipher, ...);
- Various bug fixes.
1、 wcdb-android-1.0.1-debug.aar 3.65MB
2、 wcdb-android-1.0.1-debugSymbols.zip 12.04MB
3、 wcdb-android-1.0.1-symbols.zip 16.51MB
4、 wcdb-android-1.0.1.aar 3.8MB
5、 wcdb-ios-1.0.1.zip 26.12MB