Skip to content

Commit cab1385

Browse files
committed
Tweaks, add version, add cacheKind
1 parent 40ad70c commit cab1385

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

samples/sample-bugsnag/gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ android.useAndroidX=true
1313

1414
org.gradle.jvmargs=-Xmx3g
1515

16+
kotlin.native.cacheKind.iosX64=none
1617
kotlin.native.cacheKind.iosSimulatorArm64=none
18+

website/docs/BugsnagTutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ shared module.
2020
```kotlin
2121
val commonMain by sourceSets.getting {
2222
dependencies {
23-
api("co.touchlab.crashkios:bugsnag:x.y.z") // More on why api later
23+
api("co.touchlab.crashkios:bugsnag:{{LATEST_GITHUB_VERSION}}") // More on why api later
2424
}
2525
}
2626
```
2727
Then disable caching in your `gradle.properties` file. We're currently working to update things to avoid this, for now
2828
we need it to deal with iOS linking issues.
29-
TODO: WHATS THE M1 ONE?
3029
```
3130
kotlin.native.cacheKind.iosX64=none
31+
kotlin.native.cacheKind.iosSimulatorArm64=none
3232
```
3333

3434
After a Gradle sync, make a call to `enableBugsnag()` somewhere in your startup code for each app. This switches from the
@@ -51,7 +51,7 @@ This is why we need to add the CrashKiOS dependency with `api()` rather than `im
5151
```kotlin
5252
cocoapods {
5353
framework {
54-
export("co.touchlab.crashkios:bugsnag:0.8.1")
54+
export("co.touchlab.crashkios:bugsnag:{{LATEST_GITHUB_VERSION}}")
5555
}
5656
...
5757
}
@@ -87,7 +87,7 @@ This is because on iOS only the definitions for Bugsnag are added when comiling
8787

8888
To work around this, we need to tell the compiler that these symbols are find and will be there later. Doing it manually is a bit messy so you can just add our gradle plugin to handle it
8989
```kotlin
90-
id("co.touchlab.crashkios.bugsnaglink") version "x.y.z"
90+
id("co.touchlab.crashkios.bugsnaglink") version "{{LATEST_GITHUB_VERSION}}"
9191
```
9292

9393
## Sending Extra Info to Bugsnag

website/docs/CrashlyticsTutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ shared module.
2222
```kotlin
2323
val commonMain by sourceSets.getting {
2424
dependencies {
25-
implementation("co.touchlab.crashkios:crashlytics:x.y.z")
25+
implementation("co.touchlab.crashkios:crashlytics:{{LATEST_GITHUB_VERSION}}")
2626
}
2727
}
2828
```
2929
Then disable caching in your `gradle.properties` file. We're currently working to update things to avoid this, for now
3030
we need it to deal with iOS linking issues.
31-
TODO: WHATS THE M1 ONE?
3231
```
3332
kotlin.native.cacheKind.iosX64=none
33+
kotlin.native.cacheKind.iosSimulatorArm64=none
3434
```
3535

3636
After a Gradle sync, make a call to `enableCrashlytics()` somewhere in your startup code for each app. This switches from the
@@ -75,7 +75,7 @@ This is because on iOS only the definitions for Crashlytics are added when comil
7575

7676
To workaround this, we need to tell the compiler that these symbols are find and will be there later. Doing it manually is a bit messy so you can just add our gradle plugin to handle it
7777
```kotlin
78-
id("co.touchlab.crashkios.crashlyticslink") version "x.y.z"
78+
id("co.touchlab.crashkios.crashlyticslink") version "{{LATEST_GITHUB_VERSION}}"
7979
```
8080

8181
## Step 3b - Send dSYMS for Dynamic Framework

0 commit comments

Comments
 (0)