Skip to content

Commit

Permalink
fix: compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
islam-mohamad committed Nov 18, 2022
1 parent aeec553 commit ed0722b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/src/main/java/com/islam/appcentercicd/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
package com.islam.appcentercicd

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.microsoft.appcenter.AppCenter
import com.microsoft.appcenter.analytics.Analytics
import com.microsoft.appcenter.crashes.Crashes

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
AppCenter.start(getApplication(), "78a15f84-5697-4886-88c8-cd9cc3bcfaf2",
Analytics.class, Crashes.class);
AppCenter.start(
application, "78a15f84-5697-4886-88c8-cd9cc3bcfaf2",
Analytics::class.java, Crashes::class.java
);
}
}

0 comments on commit ed0722b

Please sign in to comment.