I practice FCM send and get notification. It works at test package, but not works at my own package..
Here is my log..
2020-07-23 15:11:29.433 19947-19947/? E/FirebaseInstanceId: Failed to start service while in background: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.firebase.INSTANCE_ID_EVENT pkg=lg.uplusbox cmp=lg.uplusbox/.controller.fcm.FcmInstanceIdService (has extras) }: app is in background uid UidRecord{91a4603 u0a198 TRNB idle change:uncached procs:1 proclist:19947, seq(0,0,0)} 2020-07-23 15:11:29.437 19947-19947/? I/FA: App measurement is starting up, version: 11400 2020-07-23 15:11:29.437 19947-19947/? I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE 2020-07-23 15:11:29.444 19947-19947/? V/FA: Collection enabled 2020-07-23 15:11:29.445 19947-19947/? V/FA: App package, google app id: lg.uplusbox, 1:814604498086:android:0700c6cb9bf60793 2020-07-23 15:11:29.445 19947-19947/? I/FA: To enable faster debug mode event logging run: adb shell setprop debug.firebase.analytics.app lg.uplusbox 2020-07-23 15:11:29.445 19947-19947/? D/FA: Debug-level message logging enabled 2020-07-23 15:11:29.446 19947-19947/? V/FA: Cancelling job. JobID: -1683691085 2020-07-23 15:11:29.450 19947-19947/? V/FA: Registered activity lifecycle callback 2020-07-23 15:11:29.467 19947-19970/? V/FA: Using measurement service 2020-07-23 15:11:29.467 19947-19970/? V/FA: Connecting to remote service 2020-07-23 15:11:29.486 19947-19970/? V/FA: Using measurement service 2020-07-23 15:11:29.486 19947-19970/? V/FA: Connection attempt already in progress 2020-07-23 15:11:29.588 19947-19970/? D/FA: Connected to remote service 2020-07-23 15:11:29.588 19947-19970/? V/FA: Processing queued up service tasks: 2 2020-07-23 15:11:34.642 19947-19970/? V/FA: Inactivity, disconnecting from the service