Skip to content

Commit

Permalink
Fix bad package
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-lando committed Aug 16, 2021
1 parent ca03848 commit b7ecdd7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ On build.gradle add the following code in dependencies:
```xml
dependencies {
...
implementation 'video.api:android-video-uploader:0.0.5' // add this line
implementation 'video.api:android-video-uploader:0.0.6' // add this line
}
```
### Or import with a local aar
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ POM_NAME=android-video-uploader
POM_ARTIFACT_ID=android-video-uploader
POM_PACKAGING=aar

VERSION_NAME=0.0.5
VERSION_NAME=0.0.6
VERSION_CODE=1
GROUP=video.api

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package video.api.videouploader_module

import org.json.JSONObject
import video.api.androidkotlinsdk.model.getStringOrNull

class ApiError(val body: JSONObject) {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package video.api.androidkotlinsdk
package video.api.videouploader_module

import okhttp3.MediaType
import okhttp3.RequestBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import android.util.Log
import okhttp3.*
import okhttp3.RequestBody.Companion.asRequestBody
import org.json.JSONObject
import video.api.androidkotlinsdk.RequestBodyUtil
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
import java.io.File
Expand All @@ -22,7 +21,7 @@ class VideoUploader(
private val boundary: String = "----WebKitFormBoundary" + System.currentTimeMillis()
}

private val userAgent = "api.video uploader (android; v:0.0.5; )"
private val userAgent = "api.video uploader (android; v:0.0.6; )"

init {
if(chunkLength < 1024L * 1024L * 5 || chunkLength > 1024L * 1024L * 128) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package video.api.androidkotlinsdk.model
package video.api.videouploader_module

import okhttp3.HttpUrl
import okhttp3.HttpUrl.Companion.toHttpUrl
Expand Down

0 comments on commit b7ecdd7

Please sign in to comment.