Skip to content

Commit

Permalink
Update dependencies and fix requests issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed May 18, 2021
1 parent 58b5af8 commit 2075a10
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
9 changes: 0 additions & 9 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Blueprint.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

object Blueprint {
const val appId = "dev.jahir.blueprint.app"
const val version = 222
const val versionName = "2.2.2"
const val version = 223
const val versionName = "2.2.3"
}
8 changes: 4 additions & 4 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

object Versions {
// Plugins
const val gradle = "4.2.0"
const val kotlin = "1.4.32"
const val gradle = "4.2.1"
const val kotlin = "1.5.0"
const val jitpack = "2.1"
const val sonatype = "1.1.0"

// OneSignal
const val oneSignalPlugin = "0.12.10"
const val oneSignal = "4.3.3"
const val oneSignal = "4.3.4"

// App
const val minSdk = 21
const val targetSdk = 30
const val buildTools = "30.0.2"

// Kuper
const val kuper = "2.3.2"
const val kuper = "2.3.3"

// Adaptive Icons
const val adaptiveIcons = "1.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ object SendIconRequest {
possibleLocations.add(getRequestsLocationPath(appStorage, context))
possibleLocations.add(getRequestsLocationPath(cacheDir, context))

val possibleFolders = possibleLocations.map { it?.let { File(it) } }
val possibleFolders = possibleLocations.map {
it?.let { File(it).apply { createIfDidNotExist() } }
}
return possibleFolders.firstOrNull {
it?.let { it.exists() && it.isDirectory && it.canWrite() } ?: false
}
Expand Down Expand Up @@ -300,7 +302,7 @@ object SendIconRequest {
callback: RequestCallback? = null
) {
if (context == null || zipFile == null) {
callback?.onRequestError("Files not found")
callback?.onRequestError("Unable to save files!")
return
}

Expand Down

0 comments on commit 2075a10

Please sign in to comment.