I've tried sending both app and device notifications and getting back 200 responses, but not receiving notifications. Same receiver is receiving other broadcast intents.
Are notifications working in sandbox and in general what is the duration between send and receive?
<receiver android:name=".ui.MyBroadcastReceiver" android:enabled="true" android:exported="true"> <intent-filter> <action android:name="com.clover.sdk.app.intent.action.APP_NOTIFICATION" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </receiver>
class MyBroadcastReceiver : BroadcastReceiver() { override fun onReceive(context: Context, intent: Intent) { StringBuilder().apply { append("Action: ${ intent.action}\n") append("URI: ${ intent.toUri(Intent.URI_INTENT_SCHEME)}\n") toString().also { log -> Log.d(TAG, log) Log.d(TAG, intent.getStringExtra(EXTRA_APP_EVENT).toString()) Toast.makeText(context, log, Toast.LENGTH_LONG).show() } } } }