feat: Move the notification code back into moxxy_native

This commit is contained in:
2023-09-08 15:41:06 +02:00
parent d8a4394f17
commit fd91ccc46f
30 changed files with 2629 additions and 269 deletions

View File

@@ -1,6 +1,20 @@
package org.moxxy.moxxy_native_example
import android.content.Intent
import android.os.Bundle
import android.util.Log
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Log.d("moxxy_native", "onCreate intent ${intent?.action}")
}
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
Log.d("moxxy_native", "New intent ${intent.action}")
}
}