Skip to content

Commit

Permalink
chore: Bump apptentive-kit-android from 6.0.3 to 6.1.0 (#87)
Browse files Browse the repository at this point in the history
* saving kit changes

* Replaced Deprecated code

* cleanup

* enableTypeDetection false bydefault

* use VERSION_NAME

* PR updates

* remove temporary code, fix for loglevel

* Cleanup & logtags

* Added default values for configuration

* Replaced Apptentive logger with mParticle logger to support tests

* cleanup

* reorder loglevel

* make registerApptentiveActivityContext as static for Java interoperable

* Updated Readme

* Implementation for Api due to customer request.

* Apptentive 6.1.0 release update

* Revert implementation to api
Fix readme

---------

Co-authored-by: Poornima Nagarajan <[email protected]>
Co-authored-by: PoornimaApptentive <[email protected]>
Co-authored-by: markvdouw <[email protected]>
  • Loading branch information
4 people authored Sep 7, 2023
1 parent f107490 commit d941af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ buildscript {

repositories {
google()
mavenLocal()
mavenCentral()
}

Expand Down Expand Up @@ -49,6 +48,6 @@ allprojects {
}

dependencies {
api 'com.apptentive:apptentive-kit-android:6.0.3'
api 'com.apptentive:apptentive-kit-android:6.1.0'
testImplementation 'io.mockk:mockk:1.13.3'
}
2 changes: 1 addition & 1 deletion src/main/kotlin/com/mparticle/kits/ApptentiveKitUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object ApptentiveKitUtils {
} else {
val filter =
IntentFilter(MParticle.ServiceProviders.BROADCAST_ACTIVE + MParticle.ServiceProviders.APPTENTIVE);
callback.getApptentiveActivityInfo().registerReceiver(object : BroadcastReceiver() {
callback.getApptentiveActivityInfo()?.registerReceiver(object : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
if (intent.action?.startsWith(MParticle.ServiceProviders.BROADCAST_ACTIVE) == true) {
Apptentive.registerApptentiveActivityInfoCallback(callback)
Expand Down

0 comments on commit d941af7

Please sign in to comment.