Skip to content

Commit

Permalink
recursion issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rvenky125 committed May 12, 2024
1 parent 4f3d57d commit eb7e699
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ val uniqueId = DeviceInfo.getUniqueId()
<summary>build.gradle.kts:</summary>

```kotlin
api("io.github.rvenky125:kmp-device-info:0.0.16-alpha")
api("io.github.rvenky125:kmp-device-info:0.0.17-alpha")
```
</details>

<details>
<summary>build.gradle:</summary>

```kotlin
api "io.github.rvenky125:kmp-device-info:0.0.16-alpha"
api "io.github.rvenky125:kmp-device-info:0.0.17-alpha"
```
</details>

Expand Down
2 changes: 1 addition & 1 deletion device-info/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.vanniktech.maven.publish.SonatypeHost
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.GradleKpmIosX64Variant

val libVersion = "0.0.16-alpha"
val libVersion = "0.0.17-alpha"
val artifactId = "kmp-device-info"
val groupId = "io.github.rvenky125"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ actual class DeviceInfo {

private val packageInfo: PackageInfo
get() = packageManager
.getPackageInfo(packageInfo.packageName, 0)
.getPackageInfo(context.packageName, 0)

private val installerPackageNameSync: String
get() {
Expand Down

0 comments on commit eb7e699

Please sign in to comment.