adds firebase connection and notifications

- notification handler pushes background and
  foreground notifications to the phone directly
- firebase connection pushes remote notifications
  in background and foreground
- firebase unique token currently logged only, should
  be send directly to server via rest
This commit is contained in:
2021-12-30 13:08:52 +01:00
parent 51bf245f00
commit 9ea64fb460
28 changed files with 179 additions and 142 deletions

View File

@ -1,9 +1,9 @@
package com.example.bump
package com.maenle.bump
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import com.example.bump.util.LocalData
import com.example.bump.util.MessageProcessor
import com.maenle.bump.util.LocalData
import com.maenle.bump.util.MessageProcessor
import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith

View File

@ -1,10 +1,10 @@
package com.example.bump
package com.maenle.bump
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.example.bump.util.Message
import com.example.bump.util.MessageProcessor
import com.example.bump.util.RestSingleton
import com.maenle.bump.util.Message
import com.maenle.bump.util.MessageProcessor
import com.maenle.bump.util.RestSingleton
import org.json.JSONArray
import org.json.JSONObject