You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message="Don't put classes in the io.embrace.android.embracesdk package unless they're part of the public API. Please move the new class to an appropriate package or (if you're adding to the public API) suppress this error via the lint baseline file."
7
+
errorLine1="public final class AutoStartInstrumentationHook {"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
84
+
errorLine1=" public static void _preOnCreate(android.app.Application application) {"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
Copy file name to clipboardExpand all lines: embrace-bytecode-instrumentation-tests/src/test/java/io/embrace/gradle/plugin/instrumentation/InstrumentedBytecodeTestCases.kt
Copy file name to clipboardExpand all lines: embrace-gradle-plugin-integration-tests/src/test/java/io/embrace/android/gradle/integration/testcases/BytecodeInstrumentationTest.kt
+1
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ class BytecodeInstrumentationTest {
Copy file name to clipboardExpand all lines: embrace-gradle-plugin/src/main/java/io/embrace/android/gradle/plugin/api/EmbraceBytecodeInstrumentation.kt
+5
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,11 @@ abstract class EmbraceBytecodeInstrumentation @Inject internal constructor(objec
42
42
val firebasePushNotificationsEnabled:Property<Boolean> =
43
43
objectFactory.property(Boolean::class.java)
44
44
45
+
/**
46
+
* Whether Embrace should automatically start in the Application class. Defaults to true.
47
+
*/
48
+
val autoStartEnabled:Property<Boolean> = objectFactory.property(Boolean::class.java)
49
+
45
50
/**
46
51
* A list of string patterns that are used to filter classes during bytecode instrumentation. For example, 'com.example.foo.*'
47
52
* would avoid instrumenting any classes in the 'com.example.foo' package.
Copy file name to clipboardExpand all lines: embrace-gradle-plugin/src/main/java/io/embrace/android/gradle/plugin/config/InstrumentationBehaviorImpl.kt
+4
Original file line number
Diff line number
Diff line change
@@ -41,4 +41,8 @@ class InstrumentationBehaviorImpl(
Copy file name to clipboardExpand all lines: embrace-gradle-plugin/src/main/java/io/embrace/android/gradle/plugin/instrumentation/AsmTaskRegistration.kt
+1
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ class AsmTaskRegistration : EmbraceTaskRegistration {
Copy file name to clipboardExpand all lines: embrace-gradle-plugin/src/main/java/io/embrace/android/gradle/plugin/instrumentation/BytecodeInstrumentationParams.kt
Copy file name to clipboardExpand all lines: embrace-gradle-plugin/src/main/java/io/embrace/android/gradle/plugin/instrumentation/EmbraceClassVisitorFactoryDelegate.kt
Copy file name to clipboardExpand all lines: embrace-gradle-plugin/src/main/java/io/embrace/android/gradle/plugin/instrumentation/config/model/SdkLocalConfig.kt
Copy file name to clipboardExpand all lines: embrace-gradle-plugin/src/test/java/io/embrace/android/gradle/plugin/instrumentation/fakes/TestBytecodeInstrumentationParams.kt
+3
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ class TestBytecodeInstrumentationParams(
0 commit comments