https://kotlinlang.org
Join Slack
Hello, I'm trying to disable firebase performance monitoring instrumentation for debug builds of an ...
r

robertoestivill

about 6 years ago
Hello, I'm trying to disable firebase performance monitoring instrumentation for debug builds of an Android application. Sadly the examples are only in Groovy and I'm having issues understanding how should I get access to the
FirebasePerformance
object in order to configure it. Documentation https://firebase.google.com/docs/perf-mon/disable-sdk?platform=android Groovy example from the documentation
groovy
android {
  // ...
  buildTypes {
    debug {
      FirebasePerformance {
        // Set this flag to 'false' to disable @AddTrace annotation processing and
        // automatic HTTP/S network request monitoring
        // for a specific build variant at compile time.
        instrumentationEnabled false
      }
    }
  }
}
My
build.gradle.kts
has something like
kotlin
  buildTypes {
    getByName("debug") {
        // should disable it here but don't know how to get the reference
    }
Any idea how can I get access to the
FirebasePerformance
object from inside
getByName("debug")
?
✅ 1
r
m
g
  • 3
  • 21
  • 342
How to implement filepicker in commonMain to pick files for both platforms.
m

Mahvi

over 1 year ago
How to implement filepicker in commonMain to pick files for both platforms.
✅ 1
m
s
  • 2
  • 17
  • 341
Has anyone tried to use navigation in compose multiplatform? I looked it up and it is recommend to u...
j

Jannik

almost 2 years ago
Has anyone tried to use navigation in compose multiplatform? I looked it up and it is recommend to use Voyager or decompose, however if I add it in the gradle build file it isn't recognised
j
a
+3
  • 5
  • 18
  • 341
Hi, Since Apple introduced Vision Pro last week, technically developer can use SwiftUI to make both ...
j

Jay

over 2 years ago
Hi, Since Apple introduced Vision Pro last week, technically developer can use SwiftUI to make both 2D & 3D content to make the app more immersive, what’s the option of Compose on this field? for 3D or AR development?
👍 1
j
r
+3
  • 5
  • 14
  • 341
If an interface is annotated with `@Immutable`, but is implemented as a value class that wraps a dom...
z

Zoltan Demant

over 3 years ago
If an interface is annotated with
@Immutable
, but is implemented as a value class that wraps a domain class (without
@Immutable
), does compose still consider it immutable? Code example in thread 🧵
z
f
+2
  • 4
  • 23
  • 341
is it possible to ignore new lines in a multiline string? In Java, one can use `\` to do so. Wonderi...
l

Lawrence

over 3 years ago
is it possible to ignore new lines in a multiline string? In Java, one can use
\
to do so. Wondering if Kotlin has something similar
String a = "This is a long string";
String b = """
     This is a \
     long string""";
a.equals(b) // true
l
j
n
  • 3
  • 4
  • 341
Does passing arguments with Compose Navigation have an effect on performance? I have quite a few Str...
n

Nat Strangerweather

almost 4 years ago
Does passing arguments with Compose Navigation have an effect on performance? I have quite a few Strings to pass, but I might be able to find a solution to avoid it if needed. If it has no effect on performance, I'll take the easy route (no pun intended). 🤔
n
m
+4
  • 6
  • 51
  • 341
Hi folks, is there a way to make the icon scale according to the text. When font size is increased t...
s

Sulav Timsina

over 1 year ago
Hi folks, is there a way to make the icon scale according to the text. When font size is increased the text increases but the bullet icon doesn’t. So the alignment looks bad. Can someone help with this issue?
s
s
+2
  • 4
  • 20
  • 340
Hi all, has anyone used compose multiplatform in the Apple tvOS application? Is it even supported?
b

bidadh

almost 2 years ago
Hi all, has anyone used compose multiplatform in the Apple tvOS application? Is it even supported?
👀 2
b
j
  • 2
  • 2
  • 340
Is there a way to mix JUnit5 and Kotest tags, e.g. have all the tests marked as “integration” execut...
m

Mykola Gurov

over 3 years ago
Is there a way to mix JUnit5 and Kotest tags, e.g. have all the tests marked as “integration” executed with one (gradle) run - be it junit or kotest? My context: I’d like to introduce kotest to an existing project with loads of JUnit5 tests categorized by tags (e.g.
integration
,
e2e
, `contract`; no tag == unit test) and executed in separate jobs on CI (gradle).
m
s
  • 2
  • 24
  • 340
Previous203204205Next

kotlinlang

A modern programming language that makes developers happier.

Powered by