hiennguyen92 / flutter_callkit_incoming

Flutter Callkit Incoming
https://pub.dev/packages/flutter_callkit_incoming
MIT License
180 stars 312 forks source link

Unable to open full-screen intent when clicking on the notification. #579

Closed duc-cosmgate closed 2 months ago

duc-cosmgate commented 2 months ago

@hiennguyen92

I discovered that the source code I downloaded from Pub is missing a block of code. As a result, when I receive a notification and tap on it, CallkitIncomingActivity fails to start, showing the following error:

START u0 {act={applicationId}.com.hiennv.flutter_callkit_incoming.ACTION_CALL_INCOMING flg=0x10000000 (has extras)} with LAUNCH_MULTIPLE from uid 10336 (realCallingUid=10219) result code=-91

        <activity
            android:name="com.hiennv.flutter_callkit_incoming.CallkitIncomingActivity"
            android:taskAffinity="com.hiennv.flutter_callkit_incoming.INCOMING_CALL_AFFINITY"
            android:excludeFromRecents="true"
            android:noHistory="true"
            android:turnScreenOn="true"
            android:configChanges="orientation"
            android:exported="true"
            android:theme="@style/CallkitIncomingTheme">
            <intent-filter>
                <action android:name="${applicationId}.com.hiennv.flutter_callkit_incoming.ACTION_CALL_INCOMING" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
hiennguyen92 commented 2 months ago

please update last version for request permisstion full intent screen for android 14+