plus_plugins
plus_plugins copied to clipboard
[Request]: share_plus-7.2.1\android\src\main\kotlin\dev\fluttercommunity\plus\share\Share.kt:139:55: warning: 'queryIntentActivities(Intent, Int): (Mutable)List<ResolveInfo!>' is deprecated. Deprecated in Java
Plugin
share_plus-7.2.1
Use case
C:\Users\zoom\AppData\Local\Pub\Cache\hosted\pub.dev\share_plus-7.2.1\android\src\main\kotlin\dev\fluttercommunity\plus\share\Share.kt:139:55: warning: 'queryIntentActivities(Intent, Int): (Mutable)List<ResolveInfo!>' is deprecated. Deprecated in Java val resInfoList = getContext().packageManager.queryIntentActivities( ^ C:\Users\zoom\AppData\Local\Pub\Cache\hosted\pub.dev\share_plus-7.2.1\android\src\main\kotlin\dev\fluttercommunity\plus\share\SharePlusPendingIntent.kt:31:20: warning: 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java intent.getParcelableExtra<ComponentName>(Intent.EXTRA_CHOSEN_COMPONENT)
Proposal
C:\Users\zoom\AppData\Local\Pub\Cache\hosted\pub.dev\share_plus-7.2.1\android\src\main\kotlin\dev\fluttercommunity\plus\share\Share.kt:139:55: warning: 'queryIntentActivities(Intent, Int): (Mutable)List<ResolveInfo!>' is deprecated. Deprecated in Java val resInfoList = getContext().packageManager.queryIntentActivities( ^ C:\Users\zoom\AppData\Local\Pub\Cache\hosted\pub.dev\share_plus-7.2.1\android\src\main\kotlin\dev\fluttercommunity\plus\share\SharePlusPendingIntent.kt:31:20: warning: 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java intent.getParcelableExtra<ComponentName>(Intent.EXTRA_CHOSEN_COMPONENT) C:\Users\zoom\AppData\Local\Pub\Cache\hosted\pub.dev\share_plus-7.2.1\android\src\main\kotlin\dev\fluttercommunity\plus\share\Share.kt:139:55: warning: 'queryIntentActivities(Intent, Int): (Mutable)List<ResolveInfo!>' is deprecated. Deprecated in Java val resInfoList = getContext().packageManager.queryIntentActivities( ^ C:\Users\zoom\AppData\Local\Pub\Cache\hosted\pub.dev\share_plus-7.2.1\android\src\main\kotlin\dev\fluttercommunity\plus\share\SharePlusPendingIntent.kt:31:20: warning: 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java intent.getParcelableExtra<ComponentName>(Intent.EXTRA_CHOSEN_COMPONENT)
This doesn't cause any issues to functionality and a simple warning. Will be resolved when packages migrate to target SDK 34 which will happen later this year.
@vbuberen Is this error similar to what you mentioned? This is displayed after executing flutter build apk
ע: C:\Users\Admin\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\IntentSender.javaʹ�û����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: C:\Users\Admin\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.javaʹ����δ������ȫ�IJ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣