Set highlight ids correctly from android to web reader

This commit is contained in:
Jackson Harper 2023-04-25 15:27:00 +08:00
parent a7d66fd4f2
commit 9748803124
5 changed files with 7 additions and 5 deletions

View file

@ -17,8 +17,8 @@ android {
applicationId "app.omnivore.omnivore"
minSdk 26
targetSdk 33
versionCode 44
versionName "0.0.44"
versionCode 46
versionName "0.0.46"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,12 @@ package app.omnivore.omnivore.persistence.entities
import androidx.room.*
import app.omnivore.omnivore.models.ServerSyncStatus
import com.google.gson.annotations.SerializedName
@Entity
data class Highlight(
@SerializedName("id")
@PrimaryKey val highlightId: String,
val type: String,
var annotation: String?,

File diff suppressed because one or more lines are too long

View file

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "webpack --mode production",
"build-and-update": "yarn build && cp build/bundle.js ../../apple/OmnivoreKit/Sources/Views/Resources/bundle.js"
"build-and-update": "yarn build && cp build/bundle.js ../../apple/OmnivoreKit/Sources/Views/Resources/bundle.js && cp build/bundle.js ../../android/Omnivore/app/src/main/assets/bundle.js"
},
"dependencies": {
"@omnivore/web": "1.0.0"