when the app is totally closed, I don't receive calls, I don't know why can any one help me ?? I'm using this code to setup mesibo :
Mesibo.getInstance().init(this)
Mesibo.addListener(this)
Mesibo.setRestartListener(this)
Mesibo.setSecureConnection(true)
Mesibo.setAccessToken(user?.mesiboToken)
val myProfile = UserProfile()
myProfile.name = user?.name
myProfile.address = user?.mesiboAddress
Mesibo.setDatabase("mydb", 0)
MesiboCall.getInstance().init(applicationContext)
Mesibo.setAppInForeground(this, 0, true)
Mesibo.start()
val profiles = Mesibo.getUserProfiles()
profiles.forEach { (key, profile) ->
val split = key.split("-")
if (!split.isNullOrEmpty()) {
val userProfile = UserProfile()
userProfile.name = split[0]
userProfile.address = key
Mesibo.setUserProfile(userProfile, false)
}
}
Mesibo.setPushToken(TokenManager.getInstance().getFCMToken())
also I have implement all Mesibo Call Listeners