provideDeviceToken
Provides the FCM token to register this device for push notifications. No action occurs if the same token is provided multiple times.
abstract suspend fun provideDeviceToken(context: Context, token: String, developerName: String = DEFAULT): Result<String>
Deprecated
developerName is no longer needed for registering notifications.
Replace with
import com.salesforce.android.smi.core.internal.InternalCoreClient.Companion.provideDeviceToken
Content copied to clipboard
provideDeviceToken(context, token)
Content copied to clipboard