هسته
انیمیشن اندروید ایکس کور
اندروید ایکس.کور.اپ
محتوای هسته اندروید
نقش هسته اندروید
نمای هسته اندروید
( برای مشاهدهی تمام بستههای اصلی به مستندات اصلی مراجعه کنید )
این جدول تمام مصنوعات موجود در گروه androidx.core را فهرست میکند.
| مصنوع | انتشار پایدار | کاندیدای انتشار | انتشار بتا | انتشار آلفا |
|---|---|---|---|---|
| هسته | ۱.۱۹.۰ | - | - | - |
| انیمیشن اصلی | ۱.۰.۰ | - | - | - |
| میانبرهای هسته گوگل | ۱.۱.۰ | - | - | ۱.۲.۰-آلفا۰۱ |
| عملکرد اصلی | ۱.۰.۰ | - | - | - |
| هسته-remoteviews | ۱.۱.۰ | - | - | - |
| نقش اصلی | ۱.۱.۰ | - | - | - |
| صفحه اصلی-splashscreen | ۱.۲.۰ | - | - | - |
اعلام وابستگیها
برای افزودن یک وابستگی به Core، باید مخزن Google Maven را به پروژه خود اضافه کنید. برای اطلاعات بیشتر، مخزن Google's Maven را مطالعه کنید.
وابستگیهای مربوط به مصنوعات مورد نیاز خود را در فایل build.gradle برای برنامه یا ماژول خود اضافه کنید:
گرووی
dependencies { def core_version = "1.19.0" // Java language implementation implementation "androidx.core:core:$core_version" // Kotlin implementation "androidx.core:core-ktx:$core_version" // To use RoleManagerCompat implementation "androidx.core:core-role:1.1.0" // To use the Animator APIs implementation "androidx.core:core-animation:1.0.0" // To test the Animator APIs androidTestImplementation "androidx.core:core-animation-testing:1.0.0" // Optional - To enable APIs that query the performance characteristics of GMS devices. implementation "androidx.core:core-performance:1.0.0" // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google implementation "androidx.core:core-google-shortcuts:1.1.0" // Optional - to support backwards compatibility of RemoteViews implementation "androidx.core:core-remoteviews:1.1.0" // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12 implementation "androidx.core:core-splashscreen:1.2.0" }
کاتلین
dependencies { val core_version = "1.19.0" // Java language implementation implementation("androidx.core:core:$core_version") // Kotlin implementation("androidx.core:core-ktx:$core_version") // To use RoleManagerCompat implementation("androidx.core:core-role:1.1.0") // To use the Animator APIs implementation("androidx.core:core-animation:1.0.0") // To test the Animator APIs androidTestImplementation("androidx.core:core-animation-testing:1.0.0") // Optional - To enable APIs that query the performance characteristics of GMS devices. implementation("androidx.core:core-performance:1.0.0") // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google implementation("androidx.core:core-google-shortcuts:1.1.0") // Optional - to support backwards compatibility of RemoteViews implementation("androidx.core:core-remoteviews:1.1.0") // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12 implementation("androidx.core:core-splashscreen:1.2.0") }
برای اطلاعات بیشتر در مورد وابستگیها، به بخش «افزودن وابستگیهای ساخت» مراجعه کنید.
بازخورد
بازخورد شما به بهبود Jetpack کمک میکند. اگر مشکلات جدیدی کشف کردید یا ایدههایی برای بهبود این کتابخانه دارید، به ما اطلاع دهید. لطفاً قبل از ایجاد یک کتابخانه جدید، نگاهی به مشکلات موجود در این کتابخانه بیندازید. میتوانید با کلیک بر روی دکمه ستاره، رأی خود را به یک مشکل موجود اضافه کنید.
برای اطلاعات بیشتر به مستندات ردیاب مشکل مراجعه کنید.
هسته و هسته-ktx
نسخه ۱.۱۹
نسخه ۱.۱۹.۰
۳ ژوئن ۲۰۲۶
androidx.core:core:1.19.0 ، androidx.core:core-ktx:1.19.0 و androidx.core:core-testing:1.19.0 منتشر شدند. نسخه 1.19.0 شامل این کامیتها است.
تغییرات مهم از زمان انتشار ۱.۱۸.۰:
نسخه ۱.۱۹.۰-rc01
۱۹ مه ۲۰۲۶
androidx.core:core:1.19.0-rc01 ، androidx.core:core-ktx:1.19.0-rc01 و androidx.core:core-testing:1.19.0-rc01 منتشر شدند. نسخه 1.19.0-rc01 شامل این کامیتها است.
نسخه ۱.۱۹.۰-آلفا۰۲
۶ مه ۲۰۲۶
androidx.core:core:1.19.0-alpha02 ، androidx.core:core-ktx:1.19.0-alpha02 و androidx.core:core-testing:1.19.0-alpha02 منتشر شدند. نسخه 1.19.0-alpha02 شامل این کامیتها است.
تغییرات API
-
BuildCompat.isAtLeastB*منسوخ کنید. فراخوانیکنندگان باید مستقیماًSDK_INT(_FULL)بررسی کنند ( I09666 ، b/505015815 )
رفع اشکالات
- با متوقف کردن تستهای کاهش باگ مختص هر نسخه در نسخههای پلتفرم بدون مشکل، مشکل عدم موفقیت تست در
CallSessionTestدر اندروید ۱۷ (SDK 37) برطرف شد. ( I970a7 ، b/502732317 ) - مشکلی که در اندروید ۱۴-۱۶ وجود داشت و باعث میشد تماسهای صوتی هنگام شروع تماس به طور غیرمنتظرهای به بلندگو منتقل شوند ( Ic7000 ، b/491932378 ) برطرف شد.
- مشکل از کار افتادن (
IllegalStateException) درcore-telecomکه میتوانست در صورت ارسال چندین بارهی رویدادهای اتصال توسط چارچوب Telecom یا یک سرویس از راه دور در طول راهاندازی افزونه رخ دهد، برطرف شد. ( I00f82 ، b/476724351 ) - شرکت مخابرات اکنون از یک روش اکتشافی جایگزین برای شناسایی دستگاههای پوشیدنی جهت تصمیمگیری در مورد مسیریابی صوتی، زمانی که مجوز
BLUETOOTH_CONNECTرد میشود، استفاده خواهد کرد. ( Iec271 ، b/499302063 )
مشارکت خارجی
-
TextAttributeCompatبه عنوان یک نوع سازگار با نسخههای قبلیTextAttributeاضافه کنید. ( Ib4a46 ، b/460301602 )
نسخه ۱.۱۹.۰-آلفا۰۱
۸ آوریل ۲۰۲۶
androidx.core:core:1.19.0-alpha01 ، androidx.core:core-ktx:1.19.0-alpha01 و androidx.core:core-testing:1.19.0-alpha01 منتشر شدند. نسخه 1.19.0-alpha01 شامل این کامیتها است.
تغییرات مهم
- رابطهای برنامهنویسی کاربردی core-ktx در کتابخانه اصلی ادغام شدهاند. تمام افزونههای کاتلین اکنون بخشی از هسته اصلی هستند. core-ktx اکنون برای سازگاری یک هسته خالی است. ( I6adbe )
تغییرات API
- اضافه کردن API های جدید برای دریافت و تنظیم اطلاعات ریاضی ( Ib5ad3 ، b/394599312 )
- تنظیمات متغیر را برای سفارشیسازی فونتهای متغیر قابل دانلود اضافه کنید ( Ifdc93 ، b/223262013 )
- تابع
unwrap()بهAccessibilityNodeInfoCompat.SelectionCompatاضافه شد تا شیءAccessibilityNodeInfo.Selectionمربوط به پلتفرم اصلی را بازیابی کند. ( I3078a ، b/479902413 ) - توابع
getView()وgetVirtualDescendantId()بهAccessibilityNodeInfoCompat.SelectionPositionCompatاضافه شدند. ( Ib0c48 , b/362783892 ) - تعریف
ACTION_ARGUMENT_SELECTION_PARCELABLEدر AndroidX را اصلاح میکند تا با sdk چارچوب مطابقت داشته باشد تا یک عمل واحد به صورت تحتاللفظی داشته باشد. ( Ib40af ، b/479852824 ) - ثابت کلید
EXTRA_PREFER_SMALL_ICONبهNotificationCompatاضافه کنید ( I713c9 ، b/469460575 ، b/478869887 ) - پشتیبانی از
MetricStyle، سبک معنایی و APIهای مرتبط درNotificationCompatاضافه شد. ( I6c194 ، b/445685015 ، b/446155056 ، b/446157356 ، b/467924497 ) -
BuildCompat.isAtLeastB_1با @ChecksSdkIntAtLeast ( I18a28 , b/462789273 ) حاشیهنویسی کنید.
رفع اشکالات
- رفتار متد
equals()درAccessibilityNodeInfoCompat.SelectionPositionCompatوAccessibilityNodeInfoCompat.SelectionCompatبرای ارزیابی صحیح برابری، اصلاح شد. ( Icbe1d ، b/495537199 )
نسخه ۱.۱۸
نسخه ۱.۱۸.۰
۱۱ مارس ۲۰۲۶
androidx.core:core:1.18.0 ، androidx.core:core-ktx:1.18.0 و androidx.core:core-testing:1.18.0 منتشر شدند. نسخه 1.18.0 شامل این کامیتها است.
تغییرات مهم از زمان انتشار ۱.۱۷.۰:
-
compileSdkاز API 36 به API 36.1 تغییر کرد -
NotificationCompat.ProjectedExtenderبرای پشتیبانی از اعلانها در دستگاههای نمایش داده شده اضافه شد. -
PictureInPictureUiStateCompatاضافه شد تا به مدیریت تفاوتهای API برای ویژگی تصویر در تصویر کمک کند. -
AccessibilityNodeInfoCompat.SelectionCompatبرای کمک به مدیریت انتخاب دسترسی در دستگاههایی که API 36.1 را اجرا میکنند، اضافه شد.
نسخه ۱.۱۸.۰-rc01
۱۱ فوریه ۲۰۲۶
androidx.core:core:1.18.0-rc01 ، androidx.core:core-ktx:1.18.0-rc01 و androidx.core:core-testing:1.18.0-rc01 منتشر شدند. نسخه 1.18.0-rc01 شامل این کامیتها است.
تغییرات API
- API
onViewBoundsChangedرا حذف کنید ( Ie56d0 ، b/475328144 ) - کلاسهای
BasicPictureInPictureوVideoPlaybackPictureInPictureرا برای کاربردهای معمول PiP اضافه کنید ( I7f989 ، b/475328144 )
رفع اشکالات
- کلاس
ViewBoundsTrackerاضافه کنید تا به طور مداوم مرزهای نما را برای تنظیمsourceRectHintدرPictureInPictureParamsCompat( Id203a ، b/474454111 ) ردیابی کند.
نسخه ۱.۱۸.۰-آلفا۰۱
۱۴ ژانویه ۲۰۲۶
androidx.core:core:1.18.0-alpha01 ، androidx.core:core-ktx:1.18.0-alpha01 و androidx.core:core-testing:1.18.0-alpha01 منتشر شدند. نسخه 1.18.0-alpha01 شامل این کامیتها است.
تغییرات API
- اضافه کردن پشتیبانی برای
getBoundingRectsدرWindowInsetsCompat( I24f18 ) -
onCanUserUpdateSilenceاکنون اختیاری است ( Ibb0c2 ) - رابط
PictureInPictureProviderرا طوری گسترش دهید کهOnUserLeaveHintProvider( I3125b ، b/462178249 ) را نیز شامل شود. -
PermissionsDelegateCompat.onActivityResultمنسوخ شده که دیگر توسطFragmentActivityفراخوانی نمیشود. ( I59197 ، b/460267600 ) - توابع تصویر در تصویر را از
ComponentActivityبه یک رابط اختصاصیPictureInPictureProvider( I068a3 ، b/462178249 ) خلاصه کنید. - اضافه کردن APIها برای اطلاعرسانی به سطوح در مورد اینکه آیا میکروفون باید نمایش داده شود یا خیر ( I55acf ، b/445237449 )
- API های
DisplayShapeCompat( I490d4 ، b/410851992 ) را اضافه کنید -
PictureInPictureParamsCompatبرای پوشش دادن کلاسandroid.app.PictureInPictureParamsدر چارچوب معرفی شده است. ( I8af9e ، b/458803858 ) - پشتیبانی از
IntentSenderرا به androidx-main am: 127eef7acc am: b4b1111b77 ( I5b30b ) اضافه کنید - پشتیبانی از
IntentSenderرا به androidx-main am: 127eef7acc ( I849b9 ) اضافه کنید - اضافه کردن پشتیبانی از
IntentSenderبه androidx-main - اضافه شدن پشتیبانی برای
IntentSender( Ia998d ، b/445163724 ) - اضافه کردن API های جدید برای دریافت و تنظیم انتخاب ( I05ec4 ، b/362784540 )
- مشکل شناختهشده ۴۵۲۳۹۰۳۷۶ اضافه شد. حالت نوردهی خودکار، تقویت نور کم (LLB) را نمیتوان برای موارد استفاده از پخش جریانی مانند VIDEO_CALL در دستگاههای Pixel 10 فعال کرد. ( Iba480 ، b/452390376 )
- اضافه کردن API های جدید برای دریافت و تنظیم جهت مرتب سازی ( I658de ، b/394670064 )
- API های جدیدی برای مدیریت تماس ویدیویی به
CallControlScopeاضافه شده است:getVideoState()برای مشاهده وضعیت صدا/تصویر وrequestVideoState(int)برای درخواست تغییر در وضعیت ویدیو. ( I51065 ، b/333074774 ) - ثابتهای حالت بررسیشدهی
AccessibilityNodeInfoCompatکه وجود ندارند را اضافه کنید. ( I40b4c ) - رفع اشکال مربوط به فقدان تعریف وضعیت بسطیافته
AccessibilityNodeInfoCompat( I75106 ، b/435252704 ) -
BuildCompat.isAtLeastB1: حذف@RequiresApi( I42fe2 ، b/430210979 ) - رفع اشکال مربوط به فقدان ثابتهای حالت بسطیافته
AccessibilityNodeInfoCompat. ( I1b1cd ، b/435252704 ) -
CallsManager.registerAppWithTelecomاکنون شامل یک پارامتر اختیاری جدیدbackwardsCompatSdkLevelاست. این به توسعهدهندگان امکان کنترل بر روی پیادهسازی پلتفرم زیربنایی (ConnectionServiceقدیمی در مقابل APIهای تراکنشی مدرن) مورد استفاده را میدهد. مقدار پیشفرض ۳۳ است و تضمین میکند که APIهای مدرن به طور پیشفرض در SDK 34+ استفاده میشوند، اما میتوان آن را بالاتر تنظیم کرد تا مسیر قدیمی را در محدودههای خاص SDK اعمال کند. ( Ib9571 ، b/444266242 ) -
CallAttributesCompat.isLogExcludedاضافه شد تا امکان تعیین اینکه آیا یک تماس باید از گزارش تماس حذف شود یا خیر، فراهم شود ( Ia2a3a ، b/447166999 ). - انواع تغییر محتوای از دست رفته را اضافه کنید. ( I52a3c )
- برای بررسی اینکه آیا API اضافه شده در Baklava، نسخه فرعی ۱ (SDK 36.1) در دسترس است یا خیر
BuildCompat.isAtLeastB1اضافه کنید. ( I78513 ، b/430210979 ) - با معرفی API جدید
RangingResultFailureبرای گزارش خرابی و دلیل نشست دامنهیابی، خرابی شروع دامنهیابی همچنین از فراخوانیRangingResultFailureکه قبلاً از طریقRangingResultPeerDisconnectedگزارش شده بود، استفاده خواهد کرد. - با معرفی API جدید
RangingResultFailureبرای گزارش خرابی و دلیل نشست دامنهیابی، خرابی شروع دامنهیابی همچنین از فراخوانیRangingResultFailureکه قبلاً از طریقRangingResultPeerDisconnectedگزارش شده بود ( If3715 ) استفاده خواهد کرد. - تابع الحاقی
bundleOf(...)که ایمنی نوع در زمان کامپایل را فراهم نمیکند و ممکن است منجر به خرابی در زمان اجرا شود، منسوخ شد. در عوض، مستقیماً از متدهایBundleاستفاده کنید. ( I48af2 ، b/434825212 )
رفع اشکالات
- نسخه Pixel Dec را به لیست اثر انگشتهای ساخت اصلاحشده در KI_398591036 ( I65f51 ، b/398591036 ) اضافه کنید.
- نسخه Pixel Nov را به لیست اثر انگشتهای ساخت اصلاحشده در KI_398591036 ( I60c10 ، b/398591036 ) اضافه کنید.
- نسخه Pixel Oct را به لیست اثر انگشتهای ساخت اصلاحشده در KI_398591036 ( I6438c ، b/398591036 ) اضافه کنید.
- ارجاعات به کلاس
FingerprintManagerازFingerprintManagerCompatحذف شد و تمام متدها برای برگرداندن مقدار false یا no-op بهروزرسانی شدند. ( I0360b , b/330524057 ) - لینکهای کد در مستندات مربوط به KI_452390376 ( I9a554 ، b/454020407 ) را اصلاح کنید.
- ساخت پیکسلهای خاص را به عنوان ثابت علامتگذاری کنید. ( I4c751 ، b/398591036 )
- پشتیبانی برای مشخص کردن فهرستی از اثر انگشتهای ساختِ آزمایششدهی دستی برای یک
KnownIssueاضافه شد. ( Iea9f9 ، b/453691379 )
نسخه ۱.۱۷
نسخه ۱.۱۷.۰
۱۳ آگوست ۲۰۲۵
androidx.core:core:1.17.0 ، androidx.core:core-ktx:1.17.0 و androidx.core:core-testing:1.17.0 منتشر شدند. نسخه 1.17.0 شامل این کامیتها است.
تغییرات مهم از زمان ۱.۱۶.۰
- کتابخانه اصلی برای هدف قرار دادن سطح زبان Kotlin 2.0 بهروزرسانی شده است و نیاز به استفاده از افزونه Kotlin Gradle نسخه 2.0.0 یا جدیدتر دارد.
نسخه ۱.۱۷.۰-rc01
۳۰ ژوئیه ۲۰۲۵
androidx.core:core:1.17.0-rc01 ، androidx.core:core-ktx:1.17.0-rc01 و androidx.core:core-testing:1.17.0-rc01 منتشر شدند. نسخه 1.17.0-rc01 هیچ تغییری نسبت به نسخه بتای قبلی ندارد.
نسخه ۱.۱۷.۰-بتا۰۱
۲ ژوئیه ۲۰۲۵
androidx.core:core:1.17.0-beta01 ، androidx.core:core-ktx:1.17.0-beta01 و androidx.core:core-testing:1.17.0-beta01 منتشر شدند. نسخه 1.17.0-beta01 هیچ تغییری نسبت به نسخه آلفای قبلی ندارد.
نسخه ۱.۱۷.۰-آلفا۰۱
۱۸ ژوئن ۲۰۲۵
androidx.core:core:1.17.0-alpha01 ، androidx.core:core-ktx:1.17.0-alpha01 و androidx.core:core-testing:1.17.0-alpha01 منتشر شدند. نسخه 1.17.0-alpha01 شامل این کامیتها است.
ویژگیهای جدید
- کتابخانه اصلی برای هدف قرار دادن سطح زبان Kotlin 2.0 بهروزرسانی شده است و نیاز به استفاده از افزونه Kotlin Gradle نسخه 2.0.0 یا جدیدتر دارد. ( Idb6b5 )
تغییرات API
NotificationCompat.ProgressStyleوNotificationCompat.Builder.setRequestPromotedOngoing()اضافه شد. برای جزئیات بیشتر به اعلانهای متمرکز بر پیشرفت و بهروزرسانیهای زنده مراجعه کنید.تابع افزونه
Parcel.useبرای مدیریت ایمن منابعParcelاضافه شد. ( I436da )
نسخه ۱.۱۶
نسخه ۱.۱۶.۰
۹ آوریل ۲۰۲۵
androidx.core:core:1.16.0 ، androidx.core:core-ktx:1.16.0 و androidx.core:core-testing:1.16.0 منتشر شدند. نسخه 1.16.0 شامل این کامیتها است.
تغییرات مهم از زمان ۱.۱۵.۰
- این کتابخانه اکنون از حاشیهنویسیهای nullness از نوع JSpecify استفاده میکند که از نوع type-use هستند. توسعهدهندگان کاتلین باید از آرگومان کامپایلر زیر برای اعمال استفاده صحیح استفاده کنند:
-Xjspecify-annotations=strict(این پیشفرض است که از نسخه 2.1.0 کامپایلر کاتلین شروع میشود). ( Iaf3e1 ، b/326456246 )
نسخه ۱.۱۶.۰-rc01
۲۶ مارس ۲۰۲۵
androidx.core:core:1.16.0-rc01 ، androidx.core:core-ktx:1.16.0-rc01 و androidx.core:core-testing:1.16.0-rc01 منتشر شدند. نسخه 1.16.0-rc01 هیچ تغییری نسبت به نسخه بتای قبلی ندارد.
نسخه ۱.۱۶.۰-بتا۰۱
۱۲ مارس ۲۰۲۵
androidx.core:core:1.16.0-beta01 ، androidx.core:core-ktx:1.16.0-beta01 و androidx.core:core-testing:1.16.0-beta01 منتشر شدند. نسخه 1.16.0-beta01 شامل این کامیتها است.
تغییرات API
- اصلاح APIهای محافظت از خطوط داخلی ( I7050d )
- کلید جدیدی برای دریافت محدوده کاراکترها در مختصات پنجره بزرگنمایی نشده اضافه میکند. ( If7a06 )
- یک ویژگی بولی جدید اضافه کنید تا نشان دهد آیا
AccesibilityNodeInfoیک فیلد الزامی را نشان میدهد یا خیر. ( I4fd2d ) - Backport کردن
View.transformMatrixToGlobalبهViewCompat( If17e2 )
نسخه ۱.۱۶.۰-آلفا۰۲
۲۹ ژانویه ۲۰۲۵
androidx.core:core:1.16.0-alpha02 ، androidx.core:core-ktx:1.16.0-alpha02 و androidx.core:core-testing:1.16.0-alpha02 منتشر شدند. نسخه 1.16.0-alpha02 شامل این کامیتها است.
تغییرات API
- برای بررسی اینکه آیا API اضافه شده در Baklava در دسترس است یا خیر
BuildCompat.isAtLeastBرا اضافه کنید ( I0f89c ) - یک API آزمایشی برای دریافت لیستی از نمایشگرهای داخلی اضافه کنید. ( Idda4d )
- مجموعهای از APIهای مربوط به تضمین کنتراست نوار سیستم ( I9849c ) را اضافه کنید
رفع اشکالات
- رفع مشکلی که باعث میشد
getLaunchDisplayId()مقدار پیشفرض نادرست 0 را در SDK < 26 برگرداند. ( Icd679 ) - این کتابخانه اکنون از حاشیهنویسیهای nullness از نوع JSpecify استفاده میکند که از نوع type-use هستند. توسعهدهندگان کاتلین باید از آرگومان کامپایلر زیر برای اعمال استفاده صحیح استفاده کنند:
-Xjspecify-annotations=strict(این پیشفرض است که از نسخه 2.1.0 کامپایلر کاتلین شروع میشود). ( Iaf3e1 ، b/326456246 )
نسخه ۱.۱۶.۰-آلفا۰۱
۱۱ دسامبر ۲۰۲۴
androidx.core:core:1.16.0-alpha01 ، androidx.core:core-ktx:1.16.0-alpha01 و androidx.core:core-testing:1.16.0-alpha01 منتشر شدند. نسخه 1.16.0-alpha01 شامل این کامیتها است.
تغییرات API
-
setLaunchDisplayIdبهActivityOptionsCompatاضافه شد. ( I39e77 ، b/379669743 ) - API سازگار برای
SYSTEM_OVERLAYSاضافه شد. ( Ibd1fd ، b/287470173 ) -
OutcomeReceiverCompat، نسخهای ازOutcomeReceiverاندروید که در تمام سطوح API موجود است، اضافه شد. ( Ib8265 ، b/380060342 ) - کلاس compat برای
android.view.ScrollFeedbackProviderاضافه شد. ( Icaa92 ) -
ViewCompat.addViewOverlay(View)به عنوان جایگزینی برایView.getOverlay().add(View)اضافه شد. نوعViewCompatمشکلی را برطرف میکند که در آن مالکهایی مانندLifecycleOwnerوViewModelStoreOwnerنمیتوانستند بین نمای همپوشانی شده و مالک همپوشانی حل شوند. ( I81413 ) - مفهوم یک
Viewکه میتواند یک والد مجزا داشته باشد را معرفی میکند. والد مجزای یک نما، نمای متفاوتی است که عملاً والد نمای دیگر است، اما از طریق ویژگیView.parentتنظیم نمیشود. برای اطلاعات بیشتر به مستندات مراجعه کنید. ( Ib2950 ) - یک API
ViewGroupCompat#installCompatInsetsDispatchجدید برای توسعهدهندگان اضافه شد تا مشکل ارسال insets که قبل از API 30 وجود داشت را برطرف کند. ( I11159 ) -
FontsContractCompat.TypefaceStyleIntDef برای حاشیهنویسی سبکهایTypefaceدرFontsContractCompatاضافه شد. ( Ib3e5b )
مشارکت خارجی
-
BuildCompat.isAtLeastVمنسوخ شده است. فراخوانیکنندگان بایدSDK_INTمستقیماً با ۳۵ مقایسه کنند. با تشکر از جیک وارتون! ( I294d1 ) - یک پرچم تغییرپذیری به
TaskStackBuilderاضافه شد. با تشکر از کمال فرج! ( Ife0ec , b/371534781 )
نسخه ۱.۱۵
نسخه ۱.۱۵.۰
۳۰ اکتبر ۲۰۲۴
androidx.core:core:1.15.0 ، androidx.core:core-ktx:1.15.0 و androidx.core:core-testing:1.15.0 منتشر شدند. نسخه ۱.۱۵.۰ شامل این کامیتها است.
تغییرات مهم از زمان ۱.۱۴.۰
- حذف دستورالعمل دسترسی به APIهای پلتفرم جدید، زیرا این امر به طور خودکار از طریق مدلسازی API هنگام استفاده از R8 با AGP 7.3 یا بالاتر (مثلاً R8 نسخه 3.3) و برای همه نسخهها هنگام استفاده از AGP 8.1 یا بالاتر (مثلاً D8 نسخه 8.1) اتفاق میافتد. به مشتریانی که از AGP استفاده نمیکنند، توصیه میشود به D8 نسخه 8.1 یا بالاتر بهروزرسانی کنند. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae ، b/345472586 )
- بهروزرسانیهای مختلف برای کلاسهای سازگاری جهت برابری با SDK اندروید ۱۵.
نسخه ۱.۱۵.۰-rc01
۱۶ اکتبر ۲۰۲۴
androidx.core:core:1.15.0-rc01 ، androidx.core:core-ktx:1.15.0-rc01 و androidx.core:core-testing:1.15.0-rc01 منتشر شدند. نسخه 1.15.0-rc01 هیچ تغییری نسبت به نسخه قبلی نداشته است.
نسخه ۱.۱۵.۰-بتا۰۱
۲ اکتبر ۲۰۲۴
androidx.core:core:1.15.0-beta01 ، androidx.core:core-ktx:1.15.0-beta01 و androidx.core:core-testing:1.15.0-beta01 منتشر شدند. نسخه 1.15.0-beta01 شامل این کامیتها است.
تغییرات API
- فیلدهای
itemCountوimportantForAccessibilityItemCountبهCollectionInfoCompatاضافه شد. ( Ibaf34 )
رفع اشکالات
- رفع مشکلات اسناد در
androidx.core.os.Profiling( I2542f )
نسخه ۱.۱۵.۰-آلفا۰۲
۲۱ آگوست ۲۰۲۴
androidx.core:core:1.15.0-alpha02 ، androidx.core:core-ktx:1.15.0-alpha02 و androidx.core:core-testing:1.15.0-alpha02 منتشر شدند. نسخه 1.15.0-alpha02 شامل این کامیتها است.
تغییرات مهم
- حذف دستورالعمل دسترسی به APIهای پلتفرم جدید، زیرا این امر به طور خودکار از طریق مدلسازی API هنگام استفاده از R8 با AGP 7.3 یا بالاتر (مثلاً R8 نسخه 3.3) و برای همه نسخهها هنگام استفاده از AGP 8.1 یا بالاتر (مثلاً D8 نسخه 8.1) اتفاق میافتد. به مشتریانی که از AGP استفاده نمیکنند، توصیه میشود به D8 نسخه 8.1 یا بالاتر بهروزرسانی کنند. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae ، b/345472586 )
تغییرات API
- ویژگی
fallbackQueryXML به تعاریف فونتهای قابل دانلود اضافه شد که امکان جایگزینی در سطح کاراکتر را با فونتهای قابل دانلود فراهم میکند. ( Idd544 ) - APIهای کمکی برای استفاده از
ProfilingManager( If2292 ) اضافه میکند. - متد compat را برای
ActivityOptions.setPendingIntentBackgroundActivityStartMode( I3ba1f , b/349617674 ) اضافه کنید. -
DisplayCutoutCompat.getCutoutPathاضافه شد ( I58778 ، b/279635904 ) - منسوخ شدن
ParcelCompat.writeBooleanرا برمیگرداند و آن را به API پلتفرم در سطح API 29 و بالاتر واگذار میکند. ( I9d243 ، b/313834577 ) -
FontsContractCompat.requestFontsرا ایجاد کنید که اجراکنندهها ( I03016 ، b/302377512 ) را میگیرد. - منسوخ شدن
LocationCompat.isMockرا برمیگرداند و آن را به API پلتفرم در سطح API 31 و بالاتر واگذار میکند. ( I55940 ، b/313834577 ) - اکنون میتوان اعلانها را به عنوان پست صوتی برچسبگذاری کرد. ( I068ab )
نسخه ۱.۱۵.۰-آلفا۰۱
۱۲ ژوئن ۲۰۲۴
androidx.core:core:1.15.0-alpha01 ، androidx.core:core-ktx:1.15.0-alpha01 و androidx.core:core-testing:1.15.0-alpha01 منتشر شدند. این نسخه در یک شاخه داخلی توسعه داده شده و با اندروید ۱۵ بتا ۳ ( android-35 ) سازگار است.
تغییرات API
- بهروزرسانیهای مختلف برای کلاسهای سازگاری جهت برابری با SDK اندروید ۱۵.
نسخه ۱.۱۴
نسخه ۱.۱۴.۰-آلفا۰۱
۱ مه ۲۰۲۴
androidx.core:core:1.14.0-alpha01 ، androidx.core:core-ktx:1.14.0-alpha01 و androidx.core:core-testing:1.14.0-alpha01 منتشر شدند. نسخه 1.14.0-alpha01 شامل این کامیتها است.
ویژگیهای جدید
- به عنوان
minSdkVersionپیشفرض کتابخانههای androidx ( I6ec7f ) به ۲۱ منتقل شوید.
تغییرات API
- متدهای compat منسوخ اضافی را منسوخ کنید. ( Ie4470 ، b/313834577 )
- متدهای compat منسوخ شده ( I01d90 ، b/313834577 )
- تابع
isAtLeastV() بهروزرسانی شد تا برای V SDK نهایی، مقدار true را برگرداند. ( I6339a )
نسخه ۱.۱۳
نسخه ۱.۱۳.۱
۱ مه ۲۰۲۴
androidx.core:core:1.13.1 ، androidx.core:core-ktx:1.13.1 و androidx.core:core-testing:1.13.1 منتشر شدند. نسخه ۱.۱۳.۱ شامل این کامیتها است.
رفع اشکالات
- رفع مشکلی که باعث میشد وقتی نوار ابزار دستنویس نمایش داده میشود، با ضربه انگشت نتوان به صفحهکلید معمولی تغییر حالت داد ( I7f843 ، b/332769437 )
نسخه ۱.۱۳.۰
۱۷ آوریل ۲۰۲۴
androidx.core:core:1.13.0 ، androidx.core:core-ktx:1.13.0 و androidx.core:core-testing:1.13.0 منتشر شدند. نسخه 1.13.0 شامل این کامیتها است.
تغییرات مهم از زمان ۱.۱۲.۰
-
minSdkVersionکتابخانه به19افزایش یافته است. بسیاری از APIهای سازگاری منسوخ شدهاند، زیرا فقط قبل از API سطح ۱۹ مورد نیاز بودند. - چندین کلاس در کاتلین بازنویسی شدهاند تا قابلیت همکاری بهتری با مصرفکنندگان کاتلین فراهم کنند و در عین حال سازگاری با جاوا را حفظ کنند.
-
FingerprintManagerCompatکه از اندروید V به بعد دیگر وجود ندارد و نباید در پلتفرمهای قدیمیتر استفاده شود، حذف شد. کلاینتها باید فوراً بهBiometricPromptمهاجرت کنند. -
PathParserاضافه شد که میتواند از رشتههای مسیر SVG یک نمونه مسیر ایجاد کند.
نسخه ۱.۱۳.۰-rc01
۳ آوریل ۲۰۲۴
androidx.core:core:1.13.0-rc01 ، androidx.core:core-ktx:1.13.0-rc01 و androidx.core:core-testing:1.13.0-rc01 منتشر شدند. نسخه 1.13.0-rc01 شامل این کامیتها است.
رفع اشکالات
- رفع مشکل بازیابی ظاهر اولیه نوار سیستم در API 30+ ( I18596 ، b/219993701 )
نسخه ۱.۱۳.۰-بتا۰۱
۲۰ مارس ۲۰۲۴
androidx.core:core:1.13.0-beta01 ، androidx.core:core-ktx:1.13.0-beta01 و androidx.core:core-testing:1.13.0-beta01 منتشر شدند. نسخه 1.13.0-beta01 شامل این کامیتها است.
تغییرات API
-
PathParserاکنونfinalاست،interpolatePathDataNodesاکنون به جای بازگرداندنboolean، برای آرگومانهای ناسازگار استثنا ایجاد میکند، وnodesToPathاکنون به جایPathParser.PathDataNodeمتعلق بهPathParserاست ( I20d62 ). -
FingerprintManagerCompatقبل از حذف از SDK پلتفرم اندروید V، به صورت نرمافزاری حذف شده است. پیادهسازی آن در آینده نزدیک با یک no-op جایگزین خواهد شد و توسعهدهندگان باید فوراً از این کلاس مهاجرت کنند. ( I7ca1b ) - رابط
Poolو زیرکلاسهای آن،SimplePoolوSynchronizedPoolاکنون با کاتلین نوشته شدهاند. نوع عمومی اشیاء ذخیره شده در Pool اکنون باید غیر تهی (non-null) باشد. ( I08afe )
مشارکت خارجی
-
GestureDetectorCompatاکنون منسوخ شده است زیرا تضمین شده است کهGestureDetectorدر حداقل نسخه SDK کتابخانه در پلتفرم موجود باشد. با تشکر از جیک وارتون برای مشارکت. ( Icc4cd ) -
MarginLayoutParamsCompatاکنون منسوخ شده است زیرا تضمین شده است کهMarginLayoutParamsبه عنوان حداقل نسخه SDK کتابخانه در پلتفرم در دسترس خواهد بود. با تشکر از جیک وارتون برای مشارکت. ( I4e0c3 )
نسخه ۱.۱۳.۰-آلفا۰۵
۷ فوریه ۲۰۲۴
androidx.core:core:1.13.0-alpha05 ، androidx.core:core-ktx:1.13.0-alpha05 و androidx.core:core-testing:1.13.0-alpha05 منتشر شدند. نسخه 1.13.0-alpha05 شامل این کامیتها است.
مشارکت خارجی
- با تشکر از متیو زاویسلاک برای بهروزرسانی مستندات
ContextCompat.registerReceiverجهت صحت اطلاعات. ( 8fd733 )
نسخه ۱.۱۳.۰-آلفا۰۴
۲۴ ژانویه ۲۰۲۴
androidx.core:core:1.13.0-alpha04 ، androidx.core:core-ktx:1.13.0-alpha04 و androidx.core:core-testing:1.13.0-alpha04 منتشر شدند. نسخه 1.13.0-alpha04 شامل این کامیتها است.
ویژگیهای جدید
- API
AlarmManagerCompat.canScheduleExactAlarmsاضافه شد ( I62e95 ، b/315440583 )
تبدیلهای کاتلین
- کلاس
androidx.core.util.Consumerدر کاتلین بازنویسی شده و اکنون نوع ژنریکTبا nullability آنچه متدaccept()دریافت میکند، مطابقت دارد ( Ie21e0 ). -
androidx.core.util.Supplierبه کاتلین تبدیل شده است، و تضمین میکند که nullability نوع برگردانده شده توسطget()با nullability نوع عمومی مطابقت داشته باشد. ( I21e9c ) -
androidx.core.util.Functionدر کاتلین بازنویسی شده است، و تضمین میکند که nullability ورودی و خروجیهای تابع با انواع ژنریک مورد استفاده مطابقت داشته باشد. ( I09dd7 )
مشارکت خارجی
- با تشکر از کمال فرج برای افزودن API
AlarmManagerCompat.canScheduleExactAlarms( I62e95 ، b/315440583 )
نسخه ۱.۱۳.۰-آلفا۰۳
۱۰ ژانویه ۲۰۲۴
androidx.core:core:1.13.0-alpha03 ، androidx.core:core-ktx:1.13.0-alpha03 و androidx.core:core-testing:1.13.0-alpha03 منتشر شدند. نسخه 1.13.0-alpha03 شامل این کامیتها است.
تغییرات API
-
ListViewCompatمنسوخ شده، مستقیماًListViewاستفاده کنید. ( Iacce6 ، b/318353933 ) - رابطهای برنامهنویسی کاربردی
ViewCompat.LAYOUT_DIRECTION_منسوخ شدهاند. ( I51710 ، b/317055535 ) - متدهای compat منسوخ شده در
ViewCompat. ( I0bfc2 ، b/313834577 )
نسخه ۱.۱۳.۰-آلفا۰۲
۲۹ نوامبر ۲۰۲۳
androidx.core:core:1.13.0-alpha02 ، androidx.core:core-ktx:1.13.0-alpha02 و androidx.core:core-testing:1.13.0-alpha02 منتشر شدند. نسخه 1.13.0-alpha02 شامل این کامیتها است.
ویژگیهای جدید
- رابط
OnUserLeaveHintProviderاضافه میکند تا به هر کامپوننتی اجازه دهد رویدادهایonUserLeaveHintلازم برای پیادهسازی تصویر در تصویر را دریافت کند. این توسطComponentActivityدر Activity1.9.0-alpha01پیادهسازی شده است. ( I54892 )
تغییرات API
-
androidx.core.os.CancellationSignalمنسوخ شده است. موارد استفاده باید باandroid.os.CancellationSignalارائه شده توسط پلتفرم جایگزین شوند. ( Id45f6 ، b/309499026 ، b/309054079 ) - رابطهای
OnMultiWindowModeChangedProvider،OnNewIntentProvider،OnPictureInPictureModeChangedProvider،OnConfigurationChangedProviderوOnTrimMemoryProviderبه کاتلین تبدیل شدهاند تا اطمینان حاصل شود که پارامترهای عمومی درConsumerکه متدهای شنونده آنها را میگیرند، قابلیت تهیپذیری صحیحی دارند (همه آنها غیر تهی هستند). ( Ib6237 ) - کلاسهای
MultiWindowModeChangedInfoوPictureInPictureModeChangedInfoکه بهConsumerاضافه شده به رابطهای Provider مربوطهشان ارسال میشوند، اکنون به زبان کاتلین نوشته شدهاند. ( Ie08e2 )
بهروزرسانی وابستگی
- هسته اکنون به چرخه حیات
2.6.2( I2d94c ) وابسته است.
نسخه ۱.۱۳.۰-آلفا۰۱
۱۸ اکتبر ۲۰۲۳
androidx.core:core:1.13.0-alpha01 ، androidx.core:core-ktx:1.13.0-alpha01 و androidx.core:core-testing:1.13.0-alpha01 منتشر شدند. نسخه 1.13.0-alpha01 شامل این کامیتها است.
تغییرات API
-
PathParserعمومی کنید. این کلاس میتواند یک نمونه Path از رشتههای مسیر SVG ایجاد کند. ( Ic7af2 , b/302376846 ) - متد compat برای
Context.createAttributionContextاضافه شد. ( I61dcf ، Ibe187 ) -
NotificationCompatSideChannelServiceبه عنوان منسوخ علامتگذاری میکند. ( I18fd9 ) - API جدید برای جابجایی دیفرانسیلی ( I46b0d ، Ia9f68 )
- API های سازگار اضافی برای
VelocityTrackerبرای ردیابی پلتفرم SDK. ( I32753 )
رفع اشکالات
- متدهای
equalsوhashCodeدرPersonنادیده بگیرید. ( I610a5 )
نسخه ۱.۱۲
نسخه ۱.۱۲.۰
۶ سپتامبر ۲۰۲۳
androidx.core:core:1.12.0 ، androidx.core:core-ktx:1.12.0 و androidx.core:core-testing:1.12.0 منتشر شدند. نسخه ۱.۱۲.۰ شامل این کامیتها است.
تغییرات مهم از زمان ۱.۱۱.۰
- بسیاری از متدهای compat برای parity در SDK 34 با TextView، AccessibilityNodeInfo و غیره اضافه شدهاند.
- رابطهای برنامهنویسی کاربردی جدید
LocalePreferencesبرای کمک به توسعهدهندگان جهت دسترسی آسان به دادههای زبان یا تنظیمات زبان کاربر. -
app.BundleCompatمنسوخ شده وos.BundleCompatجایگزین آن شده است. -
BuildCompat.isAtLeastU()منسوخ شده است. به جای آنSDK_INT >= 34استفاده کنید.
نسخه ۱.۱۲.۰-rc01
۹ آگوست ۲۰۲۳
androidx.core:core:1.12.0-rc01 ، androidx.core:core-ktx:1.12.0-rc01 و androidx.core:core-testing:1.12.0-rc01 بدون هیچ تغییر عمدهای منتشر شدهاند. نسخه 1.12.0-rc01 شامل این کامیتها است.
نسخه ۱.۱۲.۰-بتا۰۱
۲۶ ژوئیه ۲۰۲۳
androidx.core:core:1.12.0-beta01 ، androidx.core:core-ktx:1.12.0-beta01 و androidx.core:core-testing:1.12.0-beta01 منتشر شدند. نسخه 1.12.0-beta01 شامل این کامیتها است.
تغییرات API
- اضافه شدن
setLineHeight(unit, lineHeight)به کلاسهای Compat مربوطTextView( Ia9fa9 ) - تابع
TypedValueCompat.getUnitFromComplexDimension()از اندروید ۱۴ ( I958e8 ) اضافه شد. - کلاسهای Compat مربوط به تابع
setLineHeight(unit, lineHeight)بهTextViewاضافه شد ( Ib2ee1 ) - پشتیبانی از APIهای دسترسیپذیری متفرقه ( Ic65ba )
- بکپورت API 34 برای متدهای
AccessibilityNodeInfo( I44182 ) - بررسیهای SDK پایدار فارغالتحصیلی از مرحله آزمایشی ( Ia9b35 )
- رابطهای برنامهنویسی کاربردی (API) 34
AccessiiblityWindowInfo( I96a5d ) را به پورت پشتی منتقل میکنند. -
BuildCompat.isAtLeastU()منسوخ شده است. به جای آنSDK_INT >= 34استفاده کنید. ( I4f8e7 ، b/289269026 ) - کاربردهای API آزمایشی
isAtLeastU()حذف شد ( Ie9117 ، b/289269026 ) - برای بهبود تگ منسوخشده ( I56775 ، b/289269026 ) ،
BuildCompatبه کاتلین منتقل شد. - اضافه شدن
setLineHeight(unit, lineHeight)به کلاسهای Compat مربوط بهTextView( I15716 ) - ویژگی جدید
accessibilityDataSensitivecompat. ( I0c6e0 ) -
PendingIntentCompat.getActivityوgetServiceممکن است در صورت مشخص شدنFLAG_NO_CREATEمقدار null را برگردانند. ( Iffdf0 , b/289696515 ) - فایلهای API بهروزرسانی شدند تا حاشیهنویسی مربوط به سرکوب سازگاری ( I8e87a ، b/287516207 ) انجام شود.
- تابع
PendingIntentCompat.send()اضافه شد ( Iaf707 ) - نسخههای سازگار با
Location.removeVerticalAccuracy()،Location.removeSpeedAccuracy()وLocation.removeBearingAccuracy()را اضافه میکند. ( I5b640 )
رفع اشکالات
- اگر یک نما دارای نماینده دسترسی باشد، آن نما را برای دسترسیپذیری مهم میکند. ( If2b54 )
نسخه ۱.۱۲.۰-آلفا۰۵
۷ ژوئن ۲۰۲۳
androidx.core:core:1.12.0-alpha05 ، androidx.core:core-ktx:1.12.0-alpha05 و androidx.core:core-testing:1.12.0-alpha05 منتشر شدند. این نسخه در یک شاخه داخلی توسعه داده شده است.
رفع اشکالات
- مستندات مربوط به کلاسهای
ColorUtilsبرای تولید رنگ از پارامترهای Material 3 Hue، Chroma و Tone (M3HCT) بهروزرسانی شد. ( I32979 ، I21c8c ) - رفع مشکل منسوخ شدن replaceWith برای
android.os.Trace( I730f9 )
نسخه ۱.۱۲.۰-آلفا۰۴
۱۰ مه ۲۰۲۳
androidx.core:core:1.12.0-alpha04 ، androidx.core:core-ktx:1.12.0-alpha04 و androidx.core:core-testing:1.12.0-alpha04 منتشر شدند. این نسخه از یک شاخه داخلی منتشر شده است.
نسخه ۱.۱۲.۰-آلفا۰۳
۱۲ آوریل ۲۰۲۳
androidx.core:core:1.12.0-alpha03 ، androidx.core:core-ktx:1.12.0-alpha03 و androidx.core:core-testing:1.12.0-alpha03 منتشر شدند. این نسخه از یک شاخه داخلی منتشر شده است.
تغییرات API
-
NotificationCompat.TvExtender(aosp/01c67677e9310b2cf4c536d7e951e117d6cce64a) را آشکار میکند. - روشهای عمومی برای دسترسی به پارامترهای M3HCT و تبدیل مقادیر M3HCT به ARGB اضافه شد (aosp/06810598aa94bee731bbe0d277933b8b9614934e)
-
NotificationManager.getCurrentInterruptionFilterاضافه شد (aosp/b0c6940639e35371d212a7ebd7dbf01c14fc7710) -
getCurrentInterruptionFilterبهNotifManagerCompatاضافه شد (aosp/516143e05f824ff49bde3c0c97344a2924867d30) -
app.BundleCompatمنسوخ شده وos.BundleCompatجایگزین آن شده است (aosp/bf6169fe9ee1113065d0cf380bd2e09f31ce0a40) -
TestConsumerاضافه شد تا توسعهدهندگان بتوانند مقادیر را در یک تست ثبت کنند. (aosp/f75a4913940e710842168c832a7f57c2dcae4fdf) -
TestConsumerاضافه شد تا توسعهدهندگان بتوانند مقادیر را در یک تست ثبت کنند. (aosp/67ad4e2c6488772b7c9a061ee6ca01bba23649f7)
رفع اشکالات
- رفع اشکالی که باعث میشد
unregisterGnssMeasurementsCallback()در اندروید R به درستی کار نکند (aosp/c5a97c4ee956f87d229ec892f2b8849f392e956c)
نسخه ۱.۱۲.۰-آلفا۰۱
۸ مارس ۲۰۲۳
androidx.core:core:1.12.0-alpha01 و androidx.core:core-ktx:1.12.0-alpha01 منتشر شدند. نسخه 1.12.0-alpha01 شامل این کامیتها است.
ویژگیهای جدید
- رابطهای برنامهنویسی کاربردی (API) را برای کمک به توسعهدهندگان جهت دسترسی آسان به تنظیمات کاربر یا دادههای محلی در بخش مراقبتهای ویژه (ICU) فراهم میکند. دادههای محلی قابل دسترسی شامل چرخه ساعت، نوع تقویم، واحد دما و اولین روز هفته است.
تغییرات API
- APIهای جدید
LocalePreferencesاضافه شدهاند تا به توسعهدهندگان کمک کنند تا به راحتی به دادههای زبان یا تنظیمات زبان کاربر دسترسی داشته باشند.
نسخه ۱.۱۱
نسخه ۱.۱۱.۰-بتا۰۲
۷ ژوئن ۲۰۲۳
androidx.core:core:1.11.0-beta02 ، androidx.core:core-ktx:1.11.0-beta02 و androidx.core:core-testing:1.11.0-beta02 منتشر شدند. نسخه 1.11.0-beta02 شامل این کامیتها است.
رفع اشکالات
- مستندات مربوط به کلاسهای
ColorUtilsبرای تولید رنگ از پارامترهای Material 3 Hue، Chroma و Tone (M3HCT) بهروزرسانی شد. ( I32979 ، I21c8c ) - رفع مشکل منسوخ شدن replaceWith برای
android.os.Trace( I730f9 )
نسخه ۱.۱۱.۰-بتا۰۱
۲۴ مه ۲۰۲۳
androidx.core:core:1.11.0-beta01 ، androidx.core:core-ktx:1.11.0-beta01 و androidx.core:core-testing:1.11.0-beta01 منتشر شدند. نسخه 1.11.0-beta01 شامل این کامیتها است.
تغییرات API
- اضافه کردن پشتیبانی
ViewCompatبه متدperformHapticFeedback( Ib02c6 ) - تغییر
getDisplayبه#getDisplayOrDefault( I96ff9 ) - اضافه کردن
ContextCompat#getDisplay(Context)( I7011f , b/178183326 ) - برای دریافت زبانهای هر برنامه در زمینه غیر از Activity ( I58e75 ، b/243457462 )
ContextCompat#getContextForLanguage(Context)را اضافه کنید.
رفع اشکالات
- مستندات
CollectionInfoCompat، به ویژهisHierarchical( I14f6c ) را شفافسازی کنید
نسخه ۱.۱۱.۰-آلفا۰۴
۱۰ مه ۲۰۲۳
androidx.core:core:1.11.0-alpha04 ، androidx.core:core-ktx:1.11.0-alpha04 و androidx.core:core-testing:1.11.0-alpha04 منتشر شدند. نسخه 1.11.0-alpha04 شامل این کامیتها است.
تغییرات API
-
LinkMovementMethodCompatاضافه شد که مشکل لمس لینک ( Ia632c ) را برطرف میکند. -
PendingIntent.getBroadcast()اکنون به درستی@Nullableعلامت گذاری شده است ( Ifff96 , b/277630907 )
رفع اشکالات
- نشت متن در
DisplayManagerCompat( I3409b ، b/279625765 ) برطرف شد. - یک
SoftwareKeyboardControllerCompatاضافه شده است تا متدهای مستقیمی برای نمایش و پنهان کردن صفحه کلید نرمافزاری با توجه به یک View ارائه دهد. این راهکارها برای مشکلات شناخته شده هنگام استفاده از APIهایWindowInsetsControllerدر برخی از سطوح API، راهحلهایی را ارائه میدهد و پیادهسازی پشتیبان برایWindowInsetsControllerCompat.showو hide را برای انواع inset IME استخراج میکند. ( Idd0a3 )
نسخه ۱.۱۱.۰-آلفا۰۳
۱۹ آوریل ۲۰۲۳
androidx.core:core:1.11.0-alpha03 ، androidx.core:core-ktx:1.11.0-alpha03 و androidx.core:core-testing:1.11.0-alpha03 منتشر شدند. نسخه 1.11.0-alpha03 شامل این کامیتها است.
تغییرات API
- بهروزرسانی
BuildCompatبرای آمادهسازی اندروید ۱۴ بتا ۲ ( Idc1b1 ، b/276491001 ) -
NotificationCompat.TvExtender( Ibe13a ) را از حالت مخفی خارج میکند. - اضافه کردن متدهای عمومی برای دسترسی به پارامترهای M3HCT و تبدیل مقادیر M3HCT به ARGB ( Id7e9d )
نسخه ۱.۱۱.۰-آلفا۰۲
۵ آوریل ۲۰۲۳
androidx.core:core:1.11.0-alpha02 ، androidx.core:core-ktx:1.11.0-alpha02 و androidx.core:core-testing:1.11.0-alpha02 منتشر شدند. نسخه 1.11.0-alpha02 شامل این کامیتها است.
تغییرات API
-
getCurrentInterruptionFilterبهNotifManagerCompat( I8ec95 ، b/243183646 ) اضافه میکند. -
app.BundleCompatبه نفعos.BundleCompatمنسوخ کنید ( Idc3a2 ، b/274577000 ) -
TestConsumerاضافه کنید تا توسعهدهندگان بتوانند مقادیر را در یک تست ثبت کنند. ( I937c1 )
رفع اشکالات
- Fix a bug where
unregisterGnssMeasurementsCallback()does not work properly below Android R. ( Id1999 )
نسخه ۱.۱۱.۰-آلفا۰۱
March 22, 2023
androidx.core:core:1.11.0-alpha01 and androidx.core:core-ktx:1.11.0-alpha01 are released. Version 1.11.0-alpha01 contains these commits.
تغییرات API
- In Android U, the
ContentProviderAPI ofgetTyperequires that the caller hold the correct read permission.FileProvidernow provides a defaultgetTypeAnonymousimplementation, which is the unrestricted version. ( I4773f ) - Added compat classes for content capture APIs ( I09366 )
- Added
NotifCompat.Builder.setLargeIcon(Icon)( Ic0a5b ) - Adds a batch notification API to
NotificationManagerCompat. Users are encouraged to use this API when posting multiple notifications. ( I2cd7f ) - Added
registerGnssMeasurementsCallback()with Executor support on pre-R platforms ( I579f8 )
نسخه ۱.۱۰
نسخه ۱.۱۰.۱
۱۰ مه ۲۰۲۳
androidx.core:core:1.10.1 and androidx.core:core-ktx:1.10.1 are released. Version 1.10.1 contains these commits.
External Contribution
- Fix
BadParcelableExceptionbeing thrown for result being null b/277434277 , b/278118318 contributed by Mygod Studio
نسخه ۱.۱۰.۰
April 5, 2023
androidx.core:core:1.10.0 and androidx.core:core-ktx:1.10.0 are released. Version 1.10.0 contains these commits.
Important changes since 1.9.0
- Deprecated recycling of accessibility objects. We've found performance changes to be negligible for even the oldest supported OS versions. ( I0a961 )
- Added
BuildCompatconstants for SDK extension versions. ( I6084c ) - See release notes for pre-release versions of 1.10.0 for new APIs and bug fixes.
نسخه ۱.۱۰.۰-rc01
۸ مارس ۲۰۲۳
androidx.core:core:1.10.0-rc01 and androidx.core:core-ktx:1.10.0-rc01 are released with no changes from the previous beta.
Version 1.10.0-beta01
۲۲ فوریه ۲۰۲۳
androidx.core:core:1.10.0-beta01 and androidx.core:core-ktx:1.10.0-beta01 are released. Version 1.10.0-beta01 contains these commits.
تغییرات API
- The
AccessibilityNodeInfoCompatAPIs ofset/getMinMillisBetweteenContentChangeshave been renamed toset/getMinDurationBetweenContentChangesand now take alongfor their duration. ( f46689 ) - Added
NotificationCompat.bigLargeIcon(Icon)( I60855 )
Bug Fixes
- Fix docs regarding default value of
NotificationCompat.Builder.setShowWhen()( ba52a2 ) - Fix typo in
AccelerateInterpolator / DecelerateInterpolatordocs ( 2173505 ) - Fix typo in
ShortcutInfoCompatdocs ( 44075f ) - Fix up, down, spacebar and key variation keyboard actions with
NestedScrollViewandCoordinatorLayout( bdd72e )
نسخه ۱.۱۰.۰-آلفا۰۲
۲۵ ژانویه ۲۰۲۳
androidx.core:core:1.10.0-alpha02 and androidx.core:core-ktx:1.10.0-alpha02 are released. Version 1.10.0-alpha02 contains these commits.
تغییرات API
- Added
BuildCompatconstant forAD_SERVICESextension version ( I51d98 ) - Add
BEHAVIOR_DEFAULTtoWindowInsetsControllerCompat.BEHAVIOR_SHOW_BARS_BY_SWIPEandBEHAVIOR_SHOW_BARS_BY_TOUCHare deprecated. ( I17b61 )
نسخه ۱.۱۰.۰-آلفا۰۱
۱۱ ژانویه ۲۰۲۳
androidx.core:core:1.10.0-alpha01 and androidx.core:core-ktx:1.10.0-alpha01 are released. Version 1.10.0-alpha01 contains these commits.
تغییرات API
- Adds
CallStyletoNotificationCompat( Id9a53 , b/199294989 ) - Added
BuildCompatconstants for SDK extension versions ( I6084c ) - Add APIs for setting initial focus on accessibility node. ( Id199a )
- Add new APIs for content change rate limiting ( If4ea0 )
- Adds compatibility methods for new APIs introduced in Android 13 for Parcels, Bundles, and Intents. Some
ParcelCompatmethod signatures have been updated, and may require a source change on upgrade to confirm to the new signature. ( I57e94 , b/242048899 ) - Deprecating recycling of accessibility objects. We've found performance changes to be negligible in even the oldest supported versions. ( I0a961 )
- Updated return type nullability of deprecated-hidden functions ( Ibf7b0 )
- Added times/div operator overloads for Point and PointF ( I8e557 , b/261574780 )
Bug Fixes
- Add to
AccessibilityEvent#TYPE_ANNOUNCEMENTwith suggestion to avoid using it. ( I818bf ) - Specify lists should have 1 row or 1 column for accessibility ( Ia1223 )
نسخه ۱.۹
نسخه ۱.۹.۰
۷ سپتامبر ۲۰۲۲
androidx.core:core:1.9.0 and androidx.core:core-ktx:1.9.0 are released. Version 1.9.0 contains these commits.
Important changes since 1.8.0
- Updated to improve compatibility with Android 13, including nullability changes and parity with framework APIs
- Added
IntentSanitizerto sanitize unsafe intents before launching them. ( Ib0be5 ) - Adds support for
BigPictureStyleusingIcon( Ice26d ) - Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. ( Ie542e ) - Improved parity between Android 13 accessibility framework APIs and compat APIs ( I93c97 , I5a074 , Iedf82 )
نسخه ۱.۹.۰-rc01
۲۴ آگوست ۲۰۲۲
androidx.core:core:1.9.0-rc01 and androidx.core:core-ktx:1.9.0-rc01 are released. Version 1.9.0-rc01 contains these commits.
Bug Fixes
-
IntentSanitizer.sanitizeByFilteringno longer writes to the log when filtering ( 69b3b55 )
نسخه ۱.۹.۰-بتا۰۱
August 10, 2022
androidx.core:core:1.9.0-beta01 is released. Version 1.9.0-beta01 contains these commits.
تغییرات API
- Added compatibility for
ACTION_SHOW_TEXT_SUGGESTIONSandis/setTextSelectable( Iedf82 ) - Added
IntentSanitizerto sanitize unsafe intents before launching them. ( Ib0be5 ) - Adds support for
BigPictureStyleusing Icon ( Ice26d , b/215583339 ) - Updated nullability annotations ( I34cce , b/236498052 , b/236498029 , b/236497996 , b/236497942 , b/236497884 , b/236497726 )
- Added
LocationManagerCompat.registerGnssMeasurementsCallbackto work around Android R bugs. ( Ie0f6f )
Bug Fixes
- Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. ( Ie542e , b/238790278 ) - Adding support for API introduced in T." into androidx-platform-dev" ( )
- Adding support for API introduced in T. ( I358f1 )
-
TypefaceCompate.create(..., weight, italic)will fallback to platformTypeface.createwhen compat impl cannot resolve on API 14-20 ( I1ee34 , b/145311058 ) - Added accessibility framework constants previously absent from androidx." into androidx-main am: d5747be010" ( I5a074 )
- Added accessibility framework constants previously absent from androidx. ( I93c97 )
External Contribution
- Backported
Typeface#create(Typeface, int, boolean)which allows creating typeface with specific weight from a font family ( I342dc )
Version 1.9.0-alpha05
۱۵ ژوئن ۲۰۲۲
androidx.core:core:1.9.0-alpha05 and androidx.core:core-ktx:1.9.0-alpha05 are released. Version 1.9.0-alpha05 was developed in a private pre-release branch and has no public commits.
تغییرات API
- Nullability updates to align with finalized API surface in Tiramisu Beta 3 SDK
-
minCompileSdkis now 33 to align with Tiramisu Beta 3 SDK
Version 1.9.0-alpha04
May 18, 2022
androidx.core:core:1.9.0-alpha04 and androidx.core:core-ktx:1.9.0-alpha04 are released. Version 1.9.0-alpha04 is built against a pre-release Android SDK and does not have a publicly-available commit history.
Bug Fixes
- Revert deprecation of
BuildCompat.isAtLeastT()and accompanyingSDK_INTchecks
نسخه ۱.۹.۰-آلفا۰۳
۲۷ آوریل ۲۰۲۲
androidx.core:core:1.9.0-alpha03 and androidx.core:core-ktx:1.9.0-alpha03 are released. Version 1.9.0-alpha04 contains all commits from 1.8.0-beta01 , but has been built against Android 13 Beta 1.
This version requires Android 13 Beta 1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
نسخه ۱.۹.۰-آلفا۰۲
March 23, 2022
androidx.core:core:1.9.0-alpha02 and androidx.core:core-ktx:1.9.0-alpha02 are released. Version 1.9.0-alpha02 contains all commits from 1.8.0-alpha06, but has been built against Tiramisu DP2.
Version 1.9.0-alpha01
۲۳ فوریه ۲۰۲۲
androidx.core:core:1.9.0-alpha01 and androidx.core:core-ktx:1.9.0-alpha01 are released. Version 1.9.0-alpha01 was built from an internal branch and does not have publicly-visible commits.
This version requires Android Tiramisu DP1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
ویژگیهای جدید
- Compatible with Android Tiramisu DP1.
نسخه ۱.۸
نسخه ۱.۸.۰
۱ ژوئن ۲۰۲۲
androidx.core:core:1.8.0 and androidx.core:core-ktx:1.8.0 are released. Version 1.8.0 contains these commits.
Important changes since 1.7.0
- Significant clean-up of nullability annotations to improve Kotlin usability
- Platform parity improvements to
ShortcutInfoCompat,NotificationCompat, and more - New interfaces to allow components to receive picture-in-picture and multi-window mode change events, implemented by
ComponentActivityin Activity library - Improvements to
MenuProvidercallback methods, includingonPrepareMenuandonMenuClosed - Fixed issue where
FileProviderwould fail withIllegalArgumentExceptionon certain devices - Fixed issue where
TypefaceCompatapplied incorrect typeface weight on API 29+ ( b/194553426 ) thanks to contribution from RikkaW
Version 1.8.0-rc02
May 18, 2022
androidx.core:core:1.8.0-rc02 and androidx.core:core-ktx:1.8.0-rc02 are released. Version 1.8.0-rc02 contains these commits.
Bug Fixes
- Cast
OnSharedElementsReadyListenerto fully-qualified platform class to preventClassCastException( 0029fed )
نسخه ۱.۸.۰-rc01
May 11, 2022
androidx.core:core:1.8.0-rc01 and androidx.core:core-ktx:1.8.0-rc01 are released. Version 1.8.0-rc01 contains these commits.
تغییرات API
- Added
BuildCompatcheck for next pre-release cycle ( If5a8f , b/229859122 ) - Updated
BuildCompat.isAtLeastT()for finalized SDK_INT value. ( Iffae0 )
نسخه ۱.۸.۰-بتا۰۱
۲۰ آوریل ۲۰۲۲
androidx.core:core:1.8.0-beta01 and androidx.core:core-ktx:1.8.0-beta01 are released with no changes since 1.8.0-alpha07. Version 1.8.0-beta01 contains these commits.
نسخه ۱.۸.۰-آلفا۰۷
۶ آوریل ۲۰۲۲
androidx.core:core:1.8.0-alpha07 and androidx.core:core-ktx:1.8.0-alpha07 are released. Version 1.8.0-alpha07 contains these commits.
Bug Fixes
-
TypefaceCompatwill now respect both requested and loaded style information on API 29+. This is a behavior change when the loaded fonts are notFontWeight.NormalorFontWeight.Bold, as the actual loaded weight and style will be used. ( #212 , b/194553426 )
External Contribution
نسخه ۱.۸.۰-alpha06
March 23, 2022
androidx.core:core:1.8.0-alpha06 is released. Version 1.8.0-alpha06 contains these commits.
تغییرات API
- The
MenuProviderinterface now includes theonPrepareMenu()callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 ) - The
MenuProviderinterface now includes theonMenuClosed()method to be used whenever a menu should be closed. ( If5a16 ) - Updated
IconCompat#getResIdto have the proper resource annotation type to match the corresponding method in the framework inIcon#getResId( I49700 ) - Reverted previous change of relying solely on a View for
WindowInsetsControllerCompat, and again require a Window which is required for managing some window flags. DeprecatedViewCompat.getWindowInsetsControllerin favor ofWindowCompat.getInsetsControllerto ensure that the correct Window is used (such as if the View is in a dialog). ( I660ae , b/219572936 ) - Updated nullability in core and appcompat to match Tiramisu DP2 ( I0cbb7 )
- Adds a method to
BitmapCompatfor smoother downscaling of bitmaps. ( Ib706c ) - Added nullability annotations to
ActivityCompat.requestDragAndDropPermissions( I0f2b0 , b/206113378 ) - Added a work-around to
FileProviderfor OEMs stripping meta-data from manifests. ( I82f63 )
Bug Fixes
- Consider parent visibility changes for a11y pane visibility status for <P ( I8e04f )
نسخه ۱.۸.۰-آلفا۰۵
۲۳ فوریه ۲۰۲۲
androidx.core:core:1.8.0-alpha05 and androidx.core:core-ktx:1.8.0-alpha05 are released. Version 1.8.0-alpha05 contains these commits.
تغییرات API
- Updated nullability for androidx.core.os classes ( If18cd , b/206113622 )
- Updated nullability for androidx.core.app classes ( I657eb , b/206113302 )
- Updated nullability for androidx.core.text classes ( I08329 , b/206113384 )
- Added
ExtraDatafunctions toAccessibilityNodeInfoCompat( If2fc7 , b/137789185 ) - Added zero-arg overload for
bundleOf()to avoid an invisible array allocation when creating an empty bundle ( If7089 ) - Added
Continuation<T>.asFoo()adapters to create callbacks for writing suspend wrappers for Android APIs that accept common/generic callback types ( I6615e ) - Added nullable
Drawable.toBitmapOrNullmethod to avoid exceptions ( I2342a )
نسخه ۱.۸.۰-آلفا۰۴
۹ فوریه ۲۰۲۲
androidx.core:core:1.8.0-alpha04 and androidx.core:core-ktx:1.8.0-alpha04 are released. Version 1.8.0-alpha04 contains these commits.
تغییرات API
- Adds the
OnPictureInPictureModeChangedProviderinterface to allow any component to receive picture-in-picture mode change events. This is implemented byComponentActivityin Activity1.5.0-alpha02. ( I9f567 ) - Adds the
OnMultiWindowModeChangedProviderinterface to allow any component to receive multi-window mode change events. This is implemented byComponentActivityin Activity1.5.0-alpha02. ( I62d91 ) - Cleaned up nullability for a subset of androidx.core APIs. ( Ia0e2f , b/206113818 )
نسخه ۱.۸.۰-آلفا۰۳
January 26, 2022
androidx.core:core:1.8.0-alpha03 and androidx.core:core-ktx:1.8.0-alpha03 are released. Version 1.8.0-alpha03 contains these commits.
تغییرات API
- Converted
WindowInsetsControllerCompatto depend on a View instead of a Window or the platformWindowInsetsController. This improves behavior with Dialogs, showing the IME, and ensures the non-deprecated creation methods workaround ( b/180881870 ). ( I29264 , b/207401542 , b/210121779 ) - Cleaned up nullability for a subset of androidx.core APIs. ( Ib2583 , b/206113818 )
- Fixed nullability of
performAccessibilityActionparams ( Ibbafe ) - Added method for working around
ColorStateListissues resulting from Theme-keyed caching and Theme.applyStyle ( I9188b , b/207739887 ) - Update shortcut visibility api for better readability ( Ia58df )
- Added zero-arg overload for
persistableBundleOf()to avoid an unnecessary array allocation when creating an empty PersistableBundle ( Icd7a4 )
نسخه ۱.۸.۰-آلفا۰۲
۱۵ دسامبر ۲۰۲۱
androidx.core:core:1.8.0-alpha02 and androidx.core:core-ktx:1.8.0-alpha02 are released. Version 1.8.0-alpha02 contains these commits.
تغییرات API
- Adds experimental
BuildCompatmethods for future SDKs ( Iafd82 , b/207528937 ) - Add utility methods to convert document into shortcut and vice versa. ( Id512c )
- Update visibility api for shortcut for better readability ( I86dec )
- Adds the
OnNewIntentProvider,OnConfigurationChangedProvider, andonTrimMemoryProviderinterfaces that can be used to denote that your custom activity can dispatch these events to any component that adds a listener. ( If1f8b , If623b , Ia9295 )
نسخه ۱.۸.۰-آلفا۰۱
۱ دسامبر ۲۰۲۱
androidx.core:core:1.8.0-alpha01 and androidx.core:core-ktx:1.8.0-alpha01 are released. Version 1.8.0-alpha01 contains these commits.
تغییرات API
- Significant clean-up of nullability annotations
- Added a new API
ShortcutInfoCompat.Builder#setHiddenFromLauncherto determine whether the shortcut should be hidden from the launcher. ( Ia2a71 ) - Add
NotificationCompat.Action#setAuthenticationRequired( Ieeafa , b/202172887 ) - Add
NotificationCompat.BigPictureStyle.setContentDescription( I3b483 ) - Added extension function
Map<String, Any?>.toPersistableBundle()( I82c86 )
Bug Fixes
- Adjusts the scroll distance for accessibility action ( If74ae )
- Removed hardcoded language code in Javadocs ( Ie5d68 )
نسخه ۱.۷
نسخه ۱.۷.۰
October 27, 2021
androidx.core:core:1.7.0 and androidx.core:core-ktx:1.7.0 are released. Version 1.7.0 contains these commits.
Important changes since 1.6.0
- Adds support for interacting with SDK 30 and later's permission revocation and app hibernation features, with backporting down to SDK 23 on supported devices. See IntentCompat.createManageUnusedAppRestrictionsIntent for more information.
- Adds support for composing menu support in components, see MenuProvider for more information.
نسخه ۱.۷.۰-rc01
۱۳ اکتبر ۲۰۲۱
androidx.core:core:1.7.0-rc01 and androidx.core:core-ktx:1.7.0-rc01 are released. Version 1.7.0-rc01 contains these commits.
نسخه ۱.۷.۰-بتا۰۲
۲۹ سپتامبر ۲۰۲۱
androidx.core:core:1.7.0-beta02 and androidx.core:core-ktx:1.7.0-beta02 released. Version 1.7.0-beta02 contains these commits.
Bug Fixes
-
MenuHostHelperwill now properly remove all LifecycleObservers when aMenuProvideris removed prior to the Lifecycle beingDESTROYED. ( Ibe2e1 , b/199788262 ) - Update the descriptions of the Unused App Restrictions Constants to be clearer for developers ( I2858e )
نسخه ۱.۷.۰-بتا۰۱
۱۵ سپتامبر ۲۰۲۱
androidx.core:core:1.7.0-beta01 and androidx.core:core-ktx:1.7.0-beta01 are released. Version 1.7.0-beta01 contains these commits.
تغییرات API
-
LocationRequestCompat.toProvidercan now return null ( Ib5a09 )
نسخه ۱.۷.۰-آلفا۰۲
September 1, 2021
androidx.core:core:1.7.0-alpha02 and androidx.core:core-ktx:1.7.0-alpha02 are released. Version 1.7.0-alpha02 contains these commits.
ویژگیهای جدید
- Streamlining and unification of how lifecycle-aware menus are managed, see MenuProvider for more details.
تغییرات API
- Added
MenuHostinterface for components that manageMenuProviders. ( I83f23 ) - Added
MenuProviderinterface that can be used to indicate that a component is supplying menu items. ( If8a40 ) - Added
MenuHostHelperto simplify implementingMenuHostin a component. ( I74f4a ) - Added
LocationRequestCompat.toLocationRequest()for converting to platform class. ( I71e75 ) - Added
DocumentsContractCompatclass for parity with platform APIs. ( Ia9e91 ) - Added
NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean)for parity with platform APIs. ( I8cd88 ) - Fixed an issue where
checkSelfPermissionfromPermissionCheckerwould show mic/cam indicators. ( I572a9 ) - Added explicit threading annotation for
setImportantForAccessibility. ( I990fa ) - Updated
getUnusedAppRestrictionsStatusto conform to API guidelines. ( I28a18 ) - Completed functionality for
getUnusedAppRestrictionsStatus. ( I7c2d6 ) - Added support to
LocationCompatfor vertical accuracy, speed accuracy, and bearing accuracy. ( I1d3e9 ) - Added math compat functions to
MathUtils. ( Idb590 ) - Integrated
OnReceiveContentListenerinto compat APIs. ( Ic6914 , b/173814913 ) - Added
ActivityCompat#isLaunchedFromBubblefor platform parity. ( I6961a ) - Added
LocationRequestandLocationManager.hasProvider()for platform parity. ( I4f3e4 )
Bug Fixes
- Removed the use of lambdas in
PackageManagerCompatto avoidLambdaDesugaringbug. ( I36c87 )
نسخه ۱.۷.۰-آلفا۰۱
۳۰ ژوئن ۲۰۲۱
androidx.core:core:1.7.0-alpha01 and androidx.core:core-ktx:1.7.0-alpha01 are released. Version 1.7.0-alpha01 contains these commits.
تغییرات API
- Added an API to configure an InputConnection to use
View.performReceiveContentto handle IME calls toInputConnection.commitContent. ( I3a2ad ) - Combined two APIs' functionality into one ( I261df )
- Modified two APIs' functionality for use with unused app restriction features (eg permission revocation, app hibernation) ( Ic1616 )
- Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( I606d7 )
- Added nullability annotations to several Compat classes ( I2802a , b/188452327 , b/189962089 )
- Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( Icafee )
- Addressed missing nullability annotation issues in ViewCompat ( Ic346e , b/188453571 )
Version 1.6
Version 1.6.0
۳۰ ژوئن ۲۰۲۱
androidx.core:core:1.6.0 and androidx.core:core-ktx:1.6.0 are released. Version 1.6.0 contains these commits.
Important changes since 1.5.0
- Add support for resolving theme attributes in nested
ColorStateLists. ( I2e409 b/155579892 ) - Backport tintable background and check mark for CheckedTextView ( I8575c )
نسخه ۱.۶.۰-rc01
June 16, 2021
androidx.core:core:1.6.0-rc01 and androidx.core:core-ktx:1.6.0-rc01 are released. Version 1.6.0-rc01 contains these commits.
تغییرات API
- JobIntentService has been deprecated in favor of WorkManager ( Ic7749 , b/149049019 )
Version 1.6.0-beta02
June 2, 2021
androidx.core:core:1.6.0-beta02 and androidx.core:core-ktx:1.6.0-beta02 are released. Version 1.6.0-beta02 contains these commits.
Bug Fixes
- Update
BuildCompatto use current long press timeout on latest platforms ( b/185118174 ) - Remove use of
synchronizedfromContextCompat,ContentLoadingProgressmethods.
نسخه ۱.۶.۰-بتا۰۱
۱۸ مه ۲۰۲۱
androidx.core:core:1.6.0-beta01 and androidx.core:core-ktx:1.6.0-beta01 are released. Version 1.6.0-beta01 contains these commits.
تغییرات API
- Backport
Objects.requireNonNull()( I27db5 , b/179904366 )
نسخه ۱.۶.۰-آلفا۰۳
۵ مه ۲۰۲۱
androidx.core:core:1.6.0-alpha03 and androidx.core:core-ktx:1.6.0-alpha03 are released. Version 1.6.0-alpha03 contains these commits.
ویژگیهای جدید
- Add support for resolving theme attributes in nested
ColorStateLists. ( I2e409 b/155579892 )
Bug Fixes
Prevent NPE when handling
nullcustom selection action mode callbacks on AppCompat-backed views. ( I033c7 , b/173435375 )Add support for setSystemBarsBehavior on SDK < 30. ( I062c8 , b/173203649 )
Version 1.6.0-alpha02
۱۵ آوریل ۲۰۲۱
androidx.core:core:1.6.0-alpha02 and androidx.core:core-ktx:1.6.0-alpha02 are released. Version 1.6.0-alpha02 contains these commits.
تغییرات API
- Add
TelephoneManagerCompatandSubscriptionManagerCompat( I5568d ) - Remove deprecated
addCapabilityBindingmethod fromShortcutInfoCompat( Ie8f70 ) - Add
addCapabilityBindingwith parameters andaddCapabilityBindingwithout parameters setters toShortcutInfoCompat.Builder, deprecated oldaddCapabilityBinding( I90686 ) - Add
LocationCompatclass andLocationManagerCompat.getCurrentLocation()( I78d9a ) - Deprecated
ModeCompat.isNativewhich is replaced byDisplayCompat.getMode. ( I9a6a2 ) - Added
ContextCompat.getAttributionTag()andUserHandleCompat.getUserHandleForUid()( Iea486 )
External Contribution
- Backport tintable background and check mark for
CheckedTextView( I8575c )
نسخه ۱.۶.۰-آلفا۰۱
March 24, 2021
androidx.core:core:1.6.0-alpha01 and androidx.core:core-ktx:1.6.0-alpha01 are released. Version 1.6.0-alpha01 contains these commits.
تغییرات API
- Adds
Handler.hasCallbacks()method for parity with platform SDK ( Idce1c , b/113855676 ) - Adds capability related setter methods to
ShortcutInfoCompat.Builder( I45af6 )
نسخه ۱.۵
نسخه ۱.۵.۰
۱۸ مه ۲۰۲۱
androidx.core:core:1.5.0 and androidx.core:core-ktx:1.5.0 are released. Version 1.5.0 contains these commits.
Important changes since 1.4.0
- Support for new Insets Animation APIs
- Updates to
OnReceiveContentListenerto support rich content - Backported
WindowInsetsControllerandWindowInsetsCompatAPIs to control system bar appearance - Updated
ActivityCompat.recreate()to be safely called from any lifecycle state on any API level - Added APIs to supply and retrieve initial surrounding text via
EditorInfoCompat, which allows IME apps to avoid additional IPC latency. - Various updates to improve parity with platform SDK APIs
Version 1.5.0-rc02
۵ مه ۲۰۲۱
androidx.core:core:1.5.0-rc02 and androidx.core:core-ktx:1.5.0-rc02 are released. Version 1.5.0-rc02 contains these commits.
Bug Fixes
- Add support for setSystemBarsBehavior on SDK < 30. ( I062c8 , b/173203649 )
Version 1.5.0-rc01
March 24, 2021
androidx.core:core:1.5.0-rc01 and androidx.core:core-ktx:1.5.0-rc01 are released. Version 1.5.0-rc01 contains these commits.
خلاصه
- No changes from previous beta03
Version 1.5.0-beta03
March 10, 2021
androidx.core:core:1.5.0-beta03 and androidx.core:core-ktx:1.5.0-beta03 are released. Version 1.5.0-beta03 contains these commits.
تغییرات API
- Added ExecutorCompat, which creates an Executor from a Handler. ( Ib4ca3 , b/181237835 )
Version 1.5.0-beta02
February 24, 2021
androidx.core:core:1.5.0-beta02 and androidx.core:core-ktx:1.5.0-beta02 are released. Version 1.5.0-beta02 contains these commits.
Bug Fixes
- Deprecated
ModeCompat.isNativewhich is replaced byDisplayCompat.getMode. ( Iefa71 ) -
NotificationCompat.MessagingStyle.getText()was incorrectly marked as@NonNull; it is now@Nullable( I05cb7 )
نسخه ۱.۵.۰-بتا۰۱
۱۳ ژانویه ۲۰۲۱
androidx.core:core:1.5.0-beta01 and androidx.core:core-ktx:1.5.0-beta01 are released. Version 1.5.0-beta01 contains these commits.
تغییرات API
- Follow API guidelines for Bounds Compat/Platform interoperability ( I7da35 )
- Integrated drag-and-drop (drop events) in AppCompatEditText with OnReceiveContentListener. ( Ib26c9 , b/175343405 )
- Connection of the new Insets Animation API with the Platform implementation ( I078da )
- Added the new Insets Animation APIs ( I8aebd )
- Updated OnReceiveContentListener and related APIs:
- Updated OnReceiveContentListener so it can be set on any type of view via ViewCompat.
- Removed
getSupportedMimeTypes()fromOnReceiveContentListener; now MIME types are passed as an additional arg on theViewCompatmethod that sets the listener. - Wrapped arguments to
OnReceiveContentListener.onReceiveContent()in an object. - Added linkUri as a param to
onReceiveContent()to ensure backwards compatibility with the keyboard image API. - Added a Bundle param to
onReceiveContent()to ensure backwards compatibility with the keyboard image API and to facilitate evolution of the API in the future. - Updated
onReceiveContent()to return any content that was not consumed, as a means to delegate to the default handling. - Removed
TextViewOnReceiveContentListenerfrom the public API since the default behavior can now be triggered by returning any unconsumed content from the listener. - ( Ib4616 , b/173814913 )
- Deprecated
BuildCompat.isAtLeastR( Idb37e ) - Moved
widget.RichContentReceiverCompattoview.OnReceiveContentListener. ( Ifdab7 , b/173814913 ) - Added
Preconditions.checkFlagsArgument. ( I43952 , b/174181100 ) - Deprecate custom menu for outbound sharing. ( I7cd92 )
- Notifications can now be tagged as missed calls. ( I14d90 )
- Added
PackageInfoCompat#getSignaturesfor retrieving the certificate array for a package ( I8e9a3 , b/159831205 )
Bug Fixes
- Fix a bug where setting
BigPictureStyle.bigLargeIconwould break theBigPictureStylefor that notification on newer OS versions. ( Ic623d )
External Contribution
- ShareCompat now uses constructors for creation and the old factory methods have been deprecated. You can now create both builders and readers from a Context and an Activity is no longer required. ( I315b6 , b/173043501 )
- Set clip data and grant uri read permission when sharing streams using ShareCompat ( I4aa31 , b/173137936 )
نسخه ۱.۵.۰-آلفا۰۵
۱۱ نوامبر ۲۰۲۰
androidx.core:core:1.5.0-alpha05 and androidx.core:core-ktx:1.5.0-alpha05 are released. Version 1.5.0-alpha05 contains these commits.
تغییرات API
- Added support for new GnssStatus APIs ( Id8e22 )
- Added overloads of
FileProvider#getUriForFileto support custom filenames ( Ie870b ) - Backported the
WindowInsetsControllerAPIs to control the system bar appearance. ( Ieb4ee ) - Renamed
getFontwith boolean togetCachedFont( Iea520 ) - Backported the
#hide()and#show()methods from WindowInsetsController APIs, added in API 30 ( I21573 ) - Added new API
ResourcesCompat#getFontwith cacheOnly option ( Ic38cf ) - Updated androidx notification bubbles APIs for Android 11 ( Ib9c70 )
نسخه ۱.۵.۰-آلفا۰۴
October 1, 2020
androidx.core:core:1.5.0-alpha04 and androidx.core:core-ktx:1.5.0-alpha04 are released. Version 1.5.0-alpha04 contains these commits.
تغییرات API
- Fix incomplete Style recovery when using
NotificationCompat.Builder.<init>(Context,Notification)( Ib297a ) - New notification categories types are now available ( I9521a )
Bug Fixes
- Allow
ActivityCompat.recreate()to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )
Version 1.5.0-alpha03
۱۶ سپتامبر ۲۰۲۰
androidx.core:core:1.5.0-alpha03 and androidx.core:core-ktx:1.5.0-alpha03 are released. Version 1.5.0-alpha03 contains these commits.
تغییرات API
-
ViewCompatis a utility class and shouldn't be instantiated. ( If20fa ) - APIs to supply and retrieve initial surrounding text were backported to
EditorInfoCompat. They allow IME apps to avoid additional IPC latency. ( Ie3809 ) - Query notification channels and groups with compat objects. ( I11d18 )
Bug Fixes
- For pre-P, ensure panes are marked as important for accessibility and support
CONTENT_CHANGE_TYPE_PANE_DISAPPEAREDevents. ( Iaeffc )
External Contribution
- API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )
نسخه ۱.۵.۰-آلفا۰۲
۱۹ آگوست ۲۰۲۰
androidx.core:core:1.5.0-alpha02 and androidx.core:core-ktx:1.5.0-alpha02 are released. Version 1.5.0-alpha02 contains these commits.
ویژگیهای جدید
The
WindowInsetsCompatAPIs have been updated to those in the platform in Android 11. This includes the newime()inset type, which allows checking the visibility and size of the on-screen keyboard.- Some caveats about the
ime()type, it works very reliably on API 23+ when your Activity is using theadjustResizewindow soft input mode . If you're instead using theadjustPanmode, it should work reliably back to API 14.
- Some caveats about the
تغییرات API
- Added
ObjectsCompat#toString(Object, String). This offers the behavior ofObjects#toString(Object, String)but can be used pre-API 19. ( I26cdc ) - Added
NotificationCompat.Builder.recoverBuilder(Notification)( I6f100 ) - Add
NotificationCompat.Builder.createContentView()and peers ( I6fe13 ) - Add extra data related APIs in AccessibilityNodeInfoCompat ( I19567 )
- Add
NotificationCompat.Builder.setSettingsTextandNotificationCompat.MessagingStyle.addHistoricMessage( I62bb6 ) - Update Notification documentation ( I1293f )
- Fix nullability of NotificationCompat.Builder ( I932e3 )
- Added
NotificationChannelCompatandNotificationChannelGroupCompat( Icc3b6 ) - Add
addExtraDataToAccessibilityNodeInfotoAccessibilityNodeProviderCompat( I26575 ) - Update WindowInsetsCompat to Android 11 APIs ( I3df9e )
External Contribution
- Add
Urioverloads forMailTomethods ( I6fa6b ) - Added
MailToAPI which provides consistent behavior and bug fixes for all API levels ( Ie9395 , b/159827506 )
نسخه ۱.۵.۰-آلفا۰۱
۱۰ ژوئن ۲۰۲۰
androidx.core:core:1.5.0-alpha01 and androidx.core:core-ktx:1.5.0-alpha01 are released.
ویژگیهای جدید
- Provides parity with Android R platform SDK APIs for
ShortcutManager,ShortcutInfo,AccessibilityNodeInfo,DisplayCutout,GnssStatus, andNotificationclasses
Bug Fixes
- Make it clear that checking shouldShowPermissionRationale is recommended.
- Change AtomicFile to use rename-into-place.
- Adjust the Typeface display style with the style of given font. ( b/156853883 )
- Fix failing Notification Builder Tests
- Fix register/unregister bug
LocationManagerCompat.
نسخه ۱.۴
نسخه ۱.۴.۰-آلفا۰۱
May 20, 2020
androidx.core:core:1.4.0-alpha01 and androidx.core:core-ktx:1.4.0-alpha01 are released. Version 1.4.0-alpha01 contains these commits.
تغییرات API
- Add common API for inserting rich content (eg pasting an image). The new callback provides a single API that apps can implement to support the different ways in which rich content may be inserted. For now the API is only added to
AppCompatEditTextand will be invoked for the following code paths:- paste from the clipboard
- content insertion from the IME (
InputConnection.commitContent) ( I22bf7 )
- Backported
android.os.Process.isApplicationUid(int)to help apps determine whether code is executing in a isolated process ( I4c83a , b/153014822 ) - Backported
LocusIdto help apps correlate state between different subsystems such as content capture, shortcuts, and notifications. ( Ia3129 ) - Added ancestry sequences to ViewGroup ( I5f75c , b/117976097 )
Bug Fixes
- Added permissions validation for
ActivityCompat.requestPermissions()( I372cc , b/122163323 ) - Extracted v28+ calls into a separate static class, which fixes a
NoClassDefFoundErrorerror forView#OnUnhandledKeyEventListenerwhen building an app bundle ( Id3419 , b/153695093 ) - Fixed a
setChronometerCountDowncrash bug ( I47282 , b/145770610 )
Version 1.3
نسخه ۱.۳.۲
October 1, 2020
androidx.core:core:1.3.2 and androidx.core:core-ktx:1.3.2 are released. Version 1.3.2 contains these commits.
Bug Fixes
- Allow
ActivityCompat.recreate()to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )
Version 1.3.1
July 22, 2020
androidx.core:core:1.3.1 and androidx.core:core-ktx:1.3.1 are released. Version 1.3.1 contains these commits.
Bug Fixes
- Fixed an issue where the resolved font resource
Typefaceweight and style had the wrong values on API Level 29 ( b/156853883 )
نسخه ۱.۳.۰
۲۷ مه ۲۰۲۰
androidx.core:core:1.3.0 and androidx.core:core-ktx:1.3.0 are released. Version 1.3.0 contains these commits.
Major changes since 1.2.0
- New APIs on
NestedScrollViewto run smooth scrolls with specified duration - New APIs on
ViewCompatto retrieve the original window insets that were dispatched to the view hierarchy
نسخه ۱.۳.۰-rc01
۱۵ آوریل ۲۰۲۰
androidx.core:core:1.3.0-rc01 and androidx.core:core-ktx:1.3.0-rc01 are released. Version 1.3.0-rc01 contains these commits.
Bug Fixes
-
WindowInsetsCompatnow properly implementshashCode()andequals()on all supported API levels.
نسخه ۱.۳.۰-بتا۰۱
۱ آوریل ۲۰۲۰
androidx.core:core:1.3.0-beta01 and androidx.core:core-ktx:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.
نسخه ۱.۳.۰-آلفا۰۲
March 4, 2020
androidx.core:core:1.3.0-alpha02 and androidx.core:core-ktx:1.3.0-alpha02 are released. Version 1.3.0-alpha02 contains these commits.
تغییرات API
- New APIs on
NestedScrollViewto run smooth scrolls with specified duration - A new
ViewCompatAPI to retrieve the original window insets that were dispatched to the view hierarchy
نسخه ۱.۳.۰-آلفا۰۱
۲۹ ژانویه ۲۰۲۰
androidx.core:core:1.3.0-alpha01 and androidx.core:core-ktx:1.3.0-alpha01 are released. Version 1.3.0-alpha01 contains these commits .
New features
- Added
ContentProviderCompat - Added
WindowInsetsCompat.Builder
تغییرات API
- Added a
NotificationCompatAPI to silence a notification instance - Added
ResourcesCompat.NULL_ID - Deprecated
CarExtender.UnreadConversationinNotificationCompat - Added a
DisplayCompatAPI to get the physical size of the device
رفع اشکالات
- Improved the handling actions with no icons in
NotificationCompat - Fixed drawable tinting on TextView relative to compound drawables on API Level 23 ( aosp/1172194 )
- Ensured the base context is always a wrapper
- Fixed an issue where RecyclerView should not populate Collection[Item]Info by default
نسخه ۱.۲
نسخه ۱.۲.۰
February 5, 2020
androidx.core:core:1.2.0 and androidx.core:core-ktx:1.2.0 are released. Version 1.2.0 contains these commits .
Major changes since 1.1.0
- Added new APIs and bug fixes in
NotificationCompat - Added new APIs to work with
BlendModeintroduced in AndroidQ in backwards-compatible way - Added new APIs and bug fixes in accessibility compat
- Added new APIs to work with
ShortcutInfo - Added new APIs to work with
WindowInsets - Fixed backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in
EditorInfoCompat,ShareCompat,WakefulBroadcastReceiverandInputConnectionCompat
نسخه ۱.۲.۰-rc01
November 20, 2019
androidx.core:core:1.2.0-rc01 and androidx.core:core-ktx:1.2.0-rc01 are released with no changes since 1.2.0-beta02 . Version 1.2.0-rc01 contains these commits .
نسخه ۱.۲.۰-بتا۰۲
۷ نوامبر ۲۰۱۹
androidx.core:core:1.2.0-beta02 and androidx.core:core:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits .
رفع اشکالات
- Updated translations for en-rCA and en-rXC locales.
نسخه ۱.۲.۰-بتا۰۱
۹ اکتبر ۲۰۱۹
androidx.core:core:1.2.0-beta01 and androidx.core:core-ktx:1.2.0-beta01 released. Version 1.2.0-beta01 contains these commits .
تغییرات API
- Added support for creating NotificationCompat Actions using IconCompat and deprecated a public field (and its getter) using resource IDs to represent icons for Actions. ( aosp/1119192 )
- Add
MathUtils.clampfor longs ( aosp/1117300 ) - Added
setChronometerCountDowntoNotificationCompat( b/138601213 )
Bug Fixes
- Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )
External Contribution
- Thank you Sergey Zakharov for enabling the API lint check for MissingBuild and ListenerLast in AndroidX! ( aosp/1119191 , aosp/1126768 )
نسخه ۱.۲.۰-آلفا۰۴
۵ سپتامبر ۲۰۱۹
androidx.core:core:1.2.0-alpha04 and androidx.core:core-ktx:1.2.0-alpha04 are released. The commits included in this version can be found here .
تغییرات API
- Deprecated
ShortcutInfoCompat.Builder#setLongLived()and replaced it with a new API with the same name that accepts a boolean as a parameter, to match the similar API inShortcutInfo.Builderin Android framework. - Added
ShortcutInfoCompat.Builder#setRank()andShortcutInfoCompat#getRank()to match theShortcutInfoin Android framework.
رفع اشکالات
- Nested pre scrolling is no longer performed before the gesture exceeds touch slop ( b/139530818 , aosp/1105373 ). This benefits ViewPager2 and other libraries.
نسخه ۱.۲.۰-آلفا۰۳
August 7, 2019
androidx.core:core:1.2.0-alpha03 and androidx.core:core-ktx:1.2.0-alpha03 are released. The commits included in this version can be found here .
New features
- Added
UriCompat.toSafeString(Uri)to provide URI escaping that is updatable separately from the platform. ( b/130878326 ) - Added
Predicate<T>interface to provide Java 8-style predicates without requiring Java 8 language features.
تغییرات API
- Made
removeDynamicShortuct()static ( b/134993204 ) - Created factory method for BlendMode Color Filter ( b/135943149 )
- Added
async,counter, andisEnabledtoTraceCompat( aosp/987332 ) - Unhid APIs in
WindowInsetsCompatandViewDragHelper( aosp/979408 )
رفع اشکالات
- Fixed bug with
NestedScrollViewscrolling in response to a11y scroll calls. ( aosp/971000 ) - Switched to using
SimpleArrayMapinViewCompatimplementation ( aosp/1012534 ) - Fixed bug where FingerprintManager incorrectly checked PackageManager on API Level 23 ( b/124066957 )
نسخه ۱.۲.۰-آلفا۰۲
۱۳ ژوئن ۲۰۱۹
androidx.core:core:1.2.0-alpha02 and androidx.core:core-ktx:1.2.0-alpha02 are released. The commits included in this version can be found here .
تغییرات API
- Added WindowInsetsCompat.wrap() and unwrap(), to be able to wrap and unwrap WindowInsets instances
نسخه ۱.۲.۰-آلفا۰۱
May 7, 2019 androidx.core:core:1.2.0-alpha01 are androidx.core:core-ktx:1.2.0-alpha01 are released.
New features
- Add
ACTION_PAGE_UP/DOWN/NEXT/PREVIOUSaccessibility actions - Add
CATEGORY_NOTIFICATIONto NotificationCompat - Add support for contextual Notification Actions
- Add support for bubbles in NotificationCompat
- Added BlendModeCompat APIs to leverage the BlendMode APIs on Android 10 and falling back to
PorterDuff.Modeequivalents wherever possible - Add new getters to WindowInsetsCompat and ViewCompat
- Add support for tap-to-edit in notifications
- DrawerLayout system gesture exclusion rects
- Add NotificationCompat API for whether to allow system generated contextual actions
- Handle disabled
<activity-alias>components in NavUtils - Add
AccessibilityNodeInfoCompat.setEntryKey
رفع اشکالات
- Fix exception when loading fonts in TypefaceCompat
- Various DayNight fixes
- Fix backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat, ShareCompat,
WakefulBroadcastReceiverandInputConnectionCompat
Version 1.1
نسخه ۱.۱.۰
۵ سپتامبر ۲۰۱۹
androidx.core:core:1.1.0 and androidx.core:core-ktx:1.1.0 are released. The commits included in this version can be found here .
Important Changes since 1.0.0
- Updated accessibility APIs to match the Android 10 platform accessibility APIs
- Added improvements to Nested Scrolling; see
NestedScrollingChild3andNestedScrollingParent3. - This library no longer exposes the
androidx.collectiondependency as part of its API. If you were depending on theandroidx.collectiontypes implicitly through a dependency on Core, you will need to add an explicitandroidx.collectiondependency to your library or app. This change is source-incompatible but retains binary compatibility. The Collection dependency is still a transitive dependency of Core but as an implementation detail instead of part of its API. - Worked around an IPC compatibility issue caused by refactor to androidx ( aosp/948725 , aosp/938269 )
- Added a variety of fixes for AppCompat DayNight ( aosp/942956 )
نسخه ۱.۱.۰-rc03
August 7, 2019
androidx.core:core:1.1.0-rc03 and androidx.core:core-ktx:1.1.0-rc03 are released. The commits included in this version can be found here .
رفع اشکالات
- Make the hidden
androidx.core.app.ComponentActivityimplementLifecycleOwnerto maintain binary compatibility withandroidx.fragment:fragment:1.0.0( aosp/1094409 )
نسخه ۱.۱.۰-rc02
۲ ژوئیه ۲۰۱۹
androidx.core:core:1.1.0-rc02 and androidx.core:core-ktx:1.1.0-rc02 are released. The commits included in this version can be found here .
رفع اشکالات
-
FingerprintManagerCompat#getFingerprintManagerOrNullon API level 23 should not checkPackageManager( b/124066957 ) ( aosp/987433 ) - Fix equality comparison in AccessibilityNodeInfoCompat ( aosp/985736 )
نسخه ۱.۱.۰-rc01
۵ ژوئن ۲۰۱۹
androidx.core:core:1.1.0-rc01 and androidx.core:core-ktx:1.1.0-rc01 are released. The commits included in this version can be found here .
رفع اشکالات
- Make image keyboard API backport compatible to all previous impls ( aosp/968220 )
- Remove Guava ListenableFuture from androidx.core:core library dependencies ( b/133171974 , aosp/965393 )
- Fix incorrect velocity while flinging with nested scrolling. ( aosp/961642 )
- Add test for mutating
TransitionDrawable( b/37033322 )
نسخه ۱.۱.۰-بتا۰۱
May 7, 2019
androidx.core:core:1.1.0-beta01 and androidx.core:core-ktx:1.1.0-beta01 are released. The commits included in this version can be found here .
The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).
تغییرات API
- Undeprecated capability setters ( aosp/937281 )
-
RemoteActionCompatis now a 1VersionedParcelable` ( aosp/928534 )
رفع اشکالات
- AppCompatTextView in core tests should be created with an appcompat theme ( aosp/951636 )
- Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
- Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )
- Fixed bug in DayNight updates when in background ( aosp/942956 )
- Implemented text entry key API for accessibility services in AOSP Keyboard ( aosp/943897 )
- Fixed exception when loading font on devices running API Level 20 and lower
- Handle disabled
<activity-alias>components in NavUtils ( aosp/940788 )
نسخه ۱.۱.۰-آلفا۰۵
March 13, 2019
androidx.core:core:1.1.0-alpha05 and androidx.core:core-ktx:1.1.0-alpha05 are released. The full list of commits included in this version can be found here .
New features
- New
ActivityCompat.recreate()API for working around pre-28 platform bugs ( aosp/898940 ) - New
LocationManagerCompatclass ( aosp/894736 )
تغییرات API
- This library no longer exposes the 'collection' dependency as part of its API. If you were depending on the 'collection' types implicitly through a dependency on 'core', you will need to add an explicit 'collection' dependency to your library or app. This change is source-incompatible but retains binary compatibility. The 'collection' dependency is still a transitive dependency of 'core' but as an implementation detail instead of part of its API.
رفع اشکالات
- Fixed bug with default tint mode for
ImageViewon devices running API level 21
نسخه ۱.۱.۰-آلفا۰۴
January 30, 2019
androidx.core:core 1.1.0-alpha04 and androidx.core:core-ktx 1.1.0-alpha04 are released.
تغییرات API
- Change value of
EXTRA_SHORTCUT_IDto be consistent with the platform ( aosp/877712 ) - Add
CATEGORY_NOTIFICATIONtoNotificationCompat( aosp/861067 )
رفع اشکالات
- Fix for fontFamily not working on devices running API level 24 and lower ( aosp/807054 )
- Fixed bug where replacing accessibility actions, and adding accessibility actions, didn't remove old accessibility actions ( aosp/848314 )
نسخه ۱.۱.۰-آلفا۰۳
۱۷ دسامبر ۲۰۱۸
androidx.core 1.1.0-alpha03 and androidx.core-ktx 1.1.0-alpha03 are released with the following changes. androidx.core-ktx 1.1.0-alpha02 is released to provide a ktx match for androidx.core 1.1.0-alpha02 .
New features
- Added Notification channels methods to
NotificationManagerCompatso developers can use onlyNotificationManagerCompatwhen working with notifications. Special thanks to Zdeněk Kořán for this new feature!
تغییرات API
- Added new APIs to
ShortcutManagerCompatto publish and update dynamic shortcuts.
نسخه ۱.۱.۰-آلفا۰۱
November 5, 2018
androidx.core 1.1.0-alpha01 is released with the following API changes and bug fixes.
New features and API changes
- NestedScrollingChild3 and NestedScrollingParent3 add the 'consumed' parameter to the overloaded dispatchNestedScroll and * onNestedScroll methods so that the view that drives nested scrolling can be better informed about how much scroll distance was * consumed by parents in each nested scroll pass.
- NestedScrollView now implements NestedScrollingChild3 and NestedScrollingParent3, and therefore, the NestedScrollingChild2 and * NestedScrollingParent2 implementations of dispatchNestedScroll and onNestedScroll are not guaranteed to be called. Developers * counting on either being called should also override the new nested scrolling 3 version of dispatchNestedScroll and onNestedScroll.
- ShortcutInfoCompat has the following new fields: Persons, categories and isLongLived. Done to advertise it can accept various types * of content.
- Renamed SupportActivity to ComponentActivity. See androidx.activity for more info.
- Added getMainExecutor() method, which returns an Executor link that will run enqueued tasks on the main thread associated with that * context.
- Added compatibility implementation of Resources.getFloat.
- Added Results Source to compat RemoteInput. This allows apps to distinguish direct and smart replies for logging purposes.
- Added Kotlin extension functions for TextView TextWatcher actions.
- Deprecated AccessibilityNodeInfo capability and flag setters; use actions instead.
- Added AccessibilityPane to ViewCompat.
- Exposed ClickableSpans on pre-O devices through the addition of AccessibilityClickableSpanCompat.
- Deprecated
AccessibilityNodeInfoCompat.setFocusable(),setClickable(),setLongClickable(),setScrollable(), andsetContextClickable(). AddedAccessibilityActions instead. - Added
ViewCompat.setAccessibilityPaneTitle(),getAccessibilityPaneTitle(),setScreenReaderFocusable(),isScreenReaderFocusable(),setAccessibilityHeading(), andisAccessibilityHeading(), to backport thisViewaccessibility functionality through API 19. - Added
ViewCompat.enableAccessibleClickableSpanSupport()to allow developers to make non-URLClickableSpans accessible back through API 19.
رفع اشکالات
- Fixed bug that caused
ResourcesCompat.getFont()crash when the network fails, when using downloadable fonts. - Fixed Null Pointer Exception in TypefaceCompatApi21 that occurred when
ContentResolverreturned null. - Fixed type error in Array Utils where it expected ColorStateList but got raw colors.
نسخه ۱.۰
نسخه ۱.۰.۲
May 7, 2019
androidx.core:core:1.0.2 , and androidx.core:core-ktx:1.0.2 are released. This release includes 2 commits.
The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).
رفع اشکالات
- Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
- Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )
نسخه ۱.۰.۱
November 7, 2018
Bugfix release of core-1.0.1 and appcompat-1.0.2 .
رفع اشکالات
- Fixed bug where
PrecomputedTextCompatwould crash when used with RTLAppCompatTextView. b/113070424
Core-Ktx Version 1.0.1
November 5, 2018
androidx.core-ktx 1.0.1 is released with the following bug fixes:
- Fixed bug where implementation of union and intersection were swapped.
Core-google-shortcuts
نسخه ۱.۲
نسخه ۱.۲.۰-آلفا۰۱
۲۶ ژوئیه ۲۰۲۳
androidx.core:core-google-shortcuts:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
تغییرات API
- Merged public and experimental API files for a,b,c-paths ( I8cfee , b/278769092 )
- Migrated
androidx.coregroup to use merged public API files ( Ifdef4 , b/278769092 )
Version 1.1
نسخه ۱.۱.۰
۲۴ اکتبر ۲۰۲۲
androidx.core:core-google-shortcuts:1.1.0 is released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Migrated from using
com.google.firebase:firebase-appindexingto the newcom.google.android.gms:play-services-appindexlibrary. This version of the library is not compatible withcom.google.firebase:firebase-appindexing. Developers should avoid using both libraries to avoid build errors.
نسخه ۱.۱.۰-rc01
۵ اکتبر ۲۰۲۲
androidx.core:core-google-shortcuts:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.
ویژگیهای جدید
- Migrated from using
com.google.firebase:firebase-appindexingto the newcom.google.android.gms:play-services-appindexlibrary. Note that this version of the library is not compatible withcom.google.firebase:firebase-appindexing. Developers should avoid using both libraries to avoid build errors.
نسخه ۱.۱.۰-بتا۰۱
۲۱ سپتامبر ۲۰۲۲
androidx.core:core-google-shortcuts:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits.
ویژگیهای جدید
- Removed unused dependency. No new features.
نسخه ۱.۱.۰-آلفا۰۳
۷ سپتامبر ۲۰۲۲
androidx.core:core-google-shortcuts:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits.
ویژگیهای جدید
- Removed unused dependency. No new features.
نسخه ۱.۱.۰-آلفا۰۲
۲۴ آگوست ۲۰۲۲
androidx.core:core-google-shortcuts:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.
ویژگیهای جدید
- Update dependency from
com.google.firebase:firebase-appindexingtocom.google.android.gms:play-services-appindex. Developers who use this new version should not externally depend oncom.google.firebase:firebase-appindexing, as the two libraries are now incompatible.
نسخه ۱.۱.۰-آلفا۰۱
۴ آگوست ۲۰۲۱
androidx.core:core-google-shortcuts:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.
ویژگیهای جدید
- Indexing support for URI based icons in Donated shortcuts to be displayed by Google apps.
نسخه ۱.۰
نسخه ۱.۰.۱
May 18, 2022
androidx.core:core-google-shortcuts:1.0.1 is released. Version 1.0.1 contains these commits.
Bug Fixes
- Fix proguard rule to prevent a method from being unintentionally removed
نسخه ۱.۰.۰
۳۰ ژوئن ۲۰۲۱
androidx.core:core-google-shortcuts:1.0.0 is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
Include this module to allow shortcuts saved using ShortcutManagerCompat to also be donated to Google. This will unlock additional features with those shortcuts for users, such as displaying them as suggestions or allowing Google Assistant to fulfill them through voice query. There is no limit to the number of shortcuts that can be donated, and those that are donated this way are saved on-device. For more information, see the full documentation on pushing dynamic shortcuts to Assistant .
نسخه ۱.۰.۰-rc01
June 16, 2021
androidx.core:core-google-shortcuts:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.
نسخه ۱.۰.۰-بتا۰۱
۱۸ مه ۲۰۲۱
androidx.core:core-google-shortcuts:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.
ویژگیهای جدید
- Shortcuts added via
core-google-shortcutslibrary will be saved as a Shortcut object in firebase appindexing, instead of a generic schema.org/Thing object.
Bug Fixes
- Removed the minSdkVersion requirement from the library. The library will still only work for API version 21 and above, but apps will no longer be required to set their own app's minSdkVersion to 21.
نسخه ۱.۰.۰-آلفا۰۳
۵ مه ۲۰۲۱
androidx.core:core-google-shortcuts:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
Bug Fixes
- No longer automatically report shortcut usage when a shortcut is added / updated. Instead usage reporting will be moved to
ShortcutManagerCompat#pushDynamicShortcut.
نسخه ۱.۰.۰-آلفا۰۲
۱۵ آوریل ۲۰۲۱
androidx.core:core-google-shortcuts:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
ویژگیهای جدید
- By depending on
androidx.core:core-google-shortcutsas an optional component along withandroidx.core; you can start usingShortcutManagerCompatto donate shortcuts to be used by Google. - A new TrampolineActivity will be merged with apps depending on this module. The TrampolineActivity is used to open shortcuts donated by this module.
تغییرات API
- Added
ShortcutInfoChangeListenerImpl, to be used byShortcutManagerCompatto donate shortcuts to Firebase App Index.
Core-Performance
نسخه ۱.۰
نسخه ۱.۰.۰
۱۰ ژانویه ۲۰۲۴
androidx.core:core-performance:1.0.0 , androidx.core:core-performance-play-services:1.0.0 , and androidx.core:core-performance-testing:1.0.0 are released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- Core Performance - Provides a reliable mechanism for developers to identify the device's level of performance at runtime to help optimize an app's user experience accordingly.
- Core Performance Play Services - Google-specific implementation providing up-to-date media performance class information for tested devices and OS versions.
- Core Performance Testing - Test doubles for Core Performance.
Bug Fixes
- Fixed a crash when initializing
PlayServicesDevicePerformancefound in version1.0.0-beta2. ( b/318803680 )
نسخه ۱.۰.۰-rc01
۱۳ دسامبر ۲۰۲۳
androidx.core:core-performance:1.0.0-rc01 , androidx.core:core-performance-play-services:1.0.0-rc01 , and androidx.core:core-performance-testing:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
ویژگیهای جدید
- Core Performance - Updated library implementation. (
DevicePerformancegeneric implementation). - Core Performance Play Services - Initial library implementation. (Google specific
DevicePerformanceimplementation). - Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).
تغییرات API
- Initial RC release of
DevicePerformancespecific API.
Version 1.0.0-beta02
۴ اکتبر ۲۰۲۳
androidx.core:core-performance:1.0.0-beta02 , androidx.core:core-performance-play-services:1.0.0-beta02 , and androidx.core:core-performance-testing:1.0.0-beta02 are released. Version 1.0.0-beta02 contains these commits.
ویژگیهای جدید
- Test related refactoring.
تغییرات API
- Unchanged API usage pattern.
نسخه ۱.۰.۰-بتا۰۱
September 6, 2023
androidx.core:core-performance:1.0.0-beta01 , androidx.core:core-performance-play-services:1.0.0-beta01 , and androidx.core:core-performance-testing:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.
ویژگیهای جدید
- Core Performance - Updated library implementation. (
DevicePerformancegeneric implementation). - Core Performance Play Services - Initial library implementation. (Google specific
DevicePerformanceimplementation). - Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).
تغییرات API
- Initial beta release of
DevicePerformancespecific API.
نسخه ۱.۰.۰-آلفا۰۳
۲۳ آگوست ۲۰۲۳
androidx.core:core-performance:1.0.0-alpha03 , androidx.core:core-performance-play-services:1.0.0-alpha03 , and androidx.core:core-performance-testing:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.
ویژگیهای جدید
- Initial library implementation of
core-performance-testing, containing test doubles for core-performance. - Initial library implementation or
core-performance-play-services. Google specific implementation provides up to date media performance class information.
تغییرات API
- Add optional module providing media performance class from Google Play Services.
- core-performance constructors changed to support optional implementation.
نسخه ۱.۰.۰-آلفا۰۲
March 23, 2022
androidx.core:core-performance:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
ویژگیهای جدید
- Provide an easy and reliable mechanism for developers to identify at runtime the device's level of performance in order to deliver an optimized app experience.
- This initial release uses a list of hand-tested devices that are granted performance class values higher than the level declared in Build.VERSION.MEDIA_PERFORMANCE_CLASS
نسخه ۱.۰.۰-آلفا۰۱
۱۵ دسامبر ۲۰۲۱
androidx.core:core-performance:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
Core-Remoteviews
Version 1.1
نسخه ۱.۱.۰
۱۲ ژوئن ۲۰۲۴
androidx.core:core-remoteviews:1.1.0 is released. Version 1.1.0 contains these commits .
Important changes since 1.0.0
- Core
RemoteViewsmoves to 1.1.0 stable.
نسخه ۱.۱.۰-rc01
۱۴ مه ۲۰۲۴
androidx.core:core-remoteviews:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits .
ویژگیهای جدید
- Move
RemoteViews1.1.0 to Release Candidate.
Bug Fixes
- Move to 21 as the default
minSdkVersionof androidx libraries. ( I6ec7f )
Version 1.1.0-beta02
۱۷ آوریل ۲۰۲۴
androidx.core:core-remoteviews:1.1.0-beta02 is released. No major changes since the last release.
نسخه ۱.۱.۰-بتا۰۱
۳ آوریل ۲۰۲۴
androidx.core:core-remoteviews:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits .
نسخه ۱.۱.۰-آلفا۰۱
February 7, 2024
androidx.core:core-remoteviews:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.
ویژگیهای جدید
- Version bump to match dependency versions.
نسخه ۱.۰
نسخه ۱.۰.۰
September 6, 2023
androidx.core:core-remoteviews:1.0.0 is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- Move core-remoteviews to stable version 1.0.0
Version 1.0.0-beta04
۱۰ مه ۲۰۲۳
androidx.core:core-remoteviews:1.0.0-beta04 is released. Version 1.0.0-beta04 contains these commits.
Bug Fixes
- Fixes
ArrayOutOfBoundsExceptionbeing thrown in corner cases in compat library.
Version 1.0.0-beta03
۵ اکتبر ۲۰۲۲
androidx.core:core-remoteviews:1.0.0-beta03 is released. Version 1.0.0-beta03 contains these commits.
ویژگیهای جدید
- No new features were added.
Version 1.0.0-beta02
August 10, 2022
androidx.core:core-remoteviews:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.
Bug Fixes
- Version fix
نسخه ۱.۰.۰-بتا۰۱
۲۹ ژوئن ۲۰۲۲
androidx.core:core-remoteviews:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.
ویژگیهای جدید
- Moves
Core-RemoteViewsto beta.
نسخه ۱.۰.۰-آلفا۰۳
۲۳ فوریه ۲۰۲۲
androidx.core:core-remoteviews:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
Bug Fixes
- Fix for infrastructure.
نسخه ۱.۰.۰-آلفا۰۲
January 26, 2022
androidx.core:core-remoteviews:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
نسخه ۱.۰.۰-آلفا۰۱
۱۵ دسامبر ۲۰۲۱
androidx.core:core-remoteviews:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
ویژگیهای جدید
- Backport of the new
RemoteViews.setRemoteAdapterAPI. - Kotlin Extension functions to avoid reflection when calling
RemoteViewsmethods. - Library with helper functions for working with
App Widgetsizing APIs.
Core-Splashscreen
نسخه ۱.۲
نسخه ۱.۲.۰
November 05, 2025
androidx.core:core-splashscreen:1.2.0 is released. Version 1.2.0 contains these commits .
نسخه ۱.۲.۰-rc01
۲ ژوئیه ۲۰۲۵
androidx.core:core-splashscreen:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits .
نسخه ۱.۲.۰-بتا۰۲
۲۳ آوریل ۲۰۲۵
androidx.core:core-splashscreen:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits .
نسخه ۱.۲.۰-بتا۰۱
۲۶ فوریه ۲۰۲۵
androidx.core:core-splashscreen:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits .
نسخه ۱.۲.۰-آلفا۰۲
۴ سپتامبر ۲۰۲۴
androidx.core:core-splashscreen:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits .
Bug Fixes
- Add
isLightThemeattribute to themes ofSplashScreen( I01000 , b/238522114 ) - Get splashscreen icon by
AppCompatResources( Ib05e , b/289242141 , b/263972037 ) - Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )
نسخه ۱.۲.۰-آلفا۰۱
۱۷ آوریل ۲۰۲۴
androidx.core:core-splashscreen:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits .
Bug Fixes
- Change the cutout mode of
Base.Theme.SplashScreento always since v30.( Idfc3f ) - Reset
enforceNavigationBarContrastto system default value from API 31, so the splash screen theme won't corrupt activity's theme. From API 31+, the splash screen isn't create asPhoneWindow, so it's unnecessary to inherit the value from API 29. Also remove the override action fromapplyAppSystemUiTheme, sinceenforceNavigationBarContrastcould already changed from app side during launch, override it from attribute doesn't make sense.( Ic2cd9 ) - Set default light navigation bar which respects day/night theme. So for API 33+ platform, the splash screen theme won't cause flicker while removing the splash screen. ( I8023a )
- Do not overwrite activity theme after receiving the splash screen view from api 33.( I10587b )
Version 1.1
نسخه ۱.۱.۰-rc01
۳ آوریل ۲۰۲۴
androidx.core:core-splashscreen:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits .
Bug Fixes
- Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )
- Fix
SplashScreenView#getIconViewcause NPE crash ( 6abfd6 , b/243457485 )
نسخه ۱.۱.۰-آلفا۰۲
September 6, 2023
androidx.core:core-splashscreen:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.
Bug Fixes
- Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )
Dependency Update
- Core-Splashscreen now compiles against API 34.
نسخه ۱.۱.۰-آلفا۰۱
۲۲ فوریه ۲۰۲۳
androidx.core:core-splashscreen:1.1.0-alpha01 is released. This was developed in an internal branch.
Bug Fixes
- Fixed a
NullPointerExceptionwhenSplashScreenView#getIconViewreturned null. ( e231ab )
نسخه ۱.۰
نسخه ۱.۰.۱
۱۹ آوریل ۲۰۲۳
androidx.core:core-splashscreen:1.0.1 is released. Version 1.0.1 contains these commits.
Bug Fixes
- Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )
نسخه ۱.۰.۰
۲۷ ژوئیه ۲۰۲۲
The core SplashScreen library brings the new Android 12 splash screen to all devices from API 23. Using the splash screen library, your application doesn't need any custom SplashScreen Activity and leverages the right APIs for a fast launch of your application. To use it, simply follow the steps outlined in our guide . For more information about the Android 12 splash screen, visit the official documentation .
androidx.core:core-splashscreen:1.0.0 is released. Version 1.0.0 contains these commits.
نسخه ۱.۰.۰-rc01
May 18, 2022
androidx.core:core-splashscreen:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.
- No changes since the last beta release.
Version 1.0.0-beta02
March 23, 2022
androidx.core:core-splashscreen:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.
Bug Fixes
- Fixed
Lateinit property platformView has not been initialized( b/214835299 )
External Contribution
- Fix rendering issue on MIUI with dark mode and Explicitly set
android:animateLayoutChangesto false to avoid the fading animation when removing the splash screen in theOnExitAnimationListener( #327 )
نسخه ۱.۰.۰-بتا۰۱
January 12, 2022
androidx.core:core-splashscreen:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.
Bug Fixes
- Better night mode handling ensures that night mode is handled when the default parameters are used on all APIs. 2d1d182
Fixes bugs introduced in the new splash screen on Android 12:
- Fix systemBar flickering on API 31: Ensure that the system bars do not flicker when customizing the exit animation. 5a75362
- Fix insets handling when using OnExitAnimationListener: Ensures that the content does not jump when the OnExitAnimationListener is used. 4c8f264
نسخه ۱.۰.۰-آلفا۰۲
۲۹ سپتامبر ۲۰۲۱
androidx.core:core-splashscreen:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
ویژگیهای جدید
- Better insets support: The splash screen now shows full screen on all APIs even when the
OnExitAnimationListeneris set. -
postSplashScreenThemeis optional: you can simply callactivity.setTheme()beforeonCreate()to set your app theme after the splash screen is shown. - Backward support of the
windowSplashScreenIconBackgroundColorattribute: usingTheme.SplashScreen.IconBackgroundandwindowSplashScreenIconBackgroundColor, you can add a background to the splash screen icon. - The sizing of the icon has been corrected to match the platform's specs.
تغییرات API
- Added backward compatibility for the windowSplashScreenIconBackgroundColor attribute
- Downgraded the minSdkVersion to API 21 ( Idd050 , b/198161849 , b/197759820 , b/198165621 )
Bug Fixes
- Make
postSplashScreenThemeoptional ( I8c4bf )
نسخه ۱.۰.۰-آلفا۰۱
۳۰ ژوئن ۲۰۲۱
androidx.core:core-splashscreen:1.0.0-alpha01 is released.
ویژگیهای جدید
-
core-splashscreenprovides backward compatibility for the new Splash Screen APIs . This first alpha version contains all the new APIs backported down to API 23, with the exception of the icon background. - See the KDocs in
androidx.core.splashscreenfor usage information.
Core-Animation and Core-Animation-Testing
نسخه ۱.۰
نسخه ۱.۰.۰
۱ مه ۲۰۲۴
androidx.core:core-animation:1.0.0 and androidx.core:core-animation-testing:1.0.0 are released. Version 1.0.0 contains these commits .
Major features of 1.0.0
androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:
-
ValueAnimator#pause,ValueAnimator#resume(API Level 19) -
ObjectAnimator.ofMultiInt,ObjectAnimator.ofMultiFloat(API Level 21) -
ValueAnimator#setCurrentFraction(API Level 22) -
AnimatorSet#setCurrentPlayTime(API Level 26) -
androidx.core:core-animation-testingallows developers to test animators in a deterministic manner. SeeAnimatorTestRulefor the details.
نسخه ۱.۰.۰-rc01
۲۶ ژوئیه ۲۰۲۳
androidx.core:core-animation:1.0.0-rc01 , androidx.core:core-animation-testing:1.0.0-rc01 , and androidx.core:core-remoteviews:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
ویژگیهای جدید
-
RemoteViewsmoves moved to rc01 after stabilizing in beta.
نسخه ۱.۰.۰-بتا۰۱
۲۰ آوریل ۲۰۲۲
androidx.core:core-animation:1.0.0-beta01 is released with no changes since 1.0.0-alpha02. Version 1.0.0-beta01 contains these commits.
Core-Animation Core-Animation-Testing Version 1.0.0-alpha02
۱۹ آگوست ۲۰۲۰
androidx.core:core-animation:1.0.0-alpha02 and androidx.core:core-animation-testing:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.
Bug Fixes
- Fix AnimatorSet with multiple Animators for a single property. ( aosp/1351310 )
Core-Animation Version 1.0.0-alpha01
۱۵ آوریل ۲۰۲۰
androidx.core:core-animation:1.0.0-alpha01 and androidx.core:core-animation-testing:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.
ویژگیهای جدید
androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:
-
ValueAnimator#pause,ValueAnimator#resume(API Level 19) -
ObjectAnimator.ofMultiInt,ObjectAnimator.ofMultiFloat(API Level 21) -
ValueAnimator#setCurrentFraction(API Level 22) -
AnimatorSet#setCurrentPlayTime(API Level 26) -
androidx.core:core-animation-testingallows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.
Core-Backported-Fixes
نسخه ۱.۰
نسخه ۱.۰.۰
۱۷ دسامبر ۲۰۲۵
androidx.core:core-backported-fixes:1.0.0 is released. Version 1.0.0 contains these commits .
نسخه ۱.۰.۰-rc01
۳ دسامبر ۲۰۲۵
androidx.core:core-backported-fixes:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits .
Bug Fixes
- Fix the code links in documentation for KI_452390376 ( I9a554 , b/454020407 )
Version 1.0.0-beta02
November 05, 2025
androidx.core:core-backported-fixes:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits .
تغییرات API
- Add known issue b/452390376 ( Auto Exposure Mode Low Light Boost (LLB) ) cannot be enabled for stream use cases such as VIDEO_CALL on Pixel 10 devices. ( Iba480 , b/452390376 )
Bug Fixes
- Mark specific pixel builds as fixed. ( I4c751 , b/398591036 )
- Add support for specifying a list of manually tested build fingerprints for a KnownIssue. ( Iea9f9 , b/453691379 )
نسخه ۱.۰.۰-بتا۰۱
۲۴ سپتامبر ۲۰۲۵
androidx.core:core-backported-fixes:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .
نسخه ۱.۰.۰-آلفا۰۱
۱۳ آگوست ۲۰۲۵
androidx.core:core-backported-fixes:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .
ویژگیهای جدید
The Core Backported Fixes library lets you check if a critical bug fix has been applied to a device. This is useful because it can take a long time for bug fixes to be rolled out to all devices, and this API provides a way for you to know when it is safe to use features that depend on a fix.
val fixManager = BackportedFixManager() if (fixManager.isFixed(KnownIssues.KI_1234)) { Offer_experience_that_needs_fix() } else { Offer_experience_that_avoids_the_bug() }
This release includes
-
KnownIssues.KI_398591036: Abnormal color tone when capturingJPEG-Rimages on some Pixel devices. Fix by usingJPEGoutputs until this KI is resolved.
Core-i18n
نسخه ۱.۰
نسخه ۱.۰.۰
۹ آوریل ۲۰۲۵
androidx.core:core-i18n:1.0.0 is released.
The component makes it easier to create properly internationalized applications, focusing on two main areas:
- Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
- A backport of
android.icu.text.MessageFormatthat works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, whichandroid.icu.text.MessageFormatdoes not do.
The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.
نسخه ۱.۰.۰-rc01
۲۶ مارس ۲۰۲۵
androidx.core:core-i18n:1.0.0-rc01 is released with no notable changes since the last beta. Version 1.0.0-rc01 contains these commits .
نسخه ۱.۰.۰-بتا۰۱
۱۲ مارس ۲۰۲۵
androidx.core:core-i18n:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .
ویژگیهای جدید
- This is the first release of the
core-i18ncomponent. The component makes it easier to create properly internationalized applications, focusing on two main areas:- Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
- A backport of
android.icu.text.MessageFormatthat works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, whichandroid.icu.text.MessageFormatdoes not do. - The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.
نسخه ۱.۰.۰-آلفا۰۱
۲۶ ژوئیه ۲۰۲۳
androidx.core:core-i18n:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
Core-location-altitude
نسخه ۱.۰
نسخه ۱.۰.۰-rc01
۱۱ مارس ۲۰۲۶
androidx.core:core-location-altitude:1.0.0-rc01 , androidx.core:core-location-altitude-external-protobuf:1.0.0-rc01 , and androidx.core:core-location-altitude-proto:1.0.0-rc01 are released with no notable changes since last beta. Version 1.0.0-rc01 contains these commits .
نسخه ۱.۰.۰-بتا۰۱
November 05, 2025
androidx.core:core-location-altitude:1.0.0-beta01 , androidx.core:core-location-altitude-external-protobuf:1.0.0-beta01 , and androidx.core:core-location-altitude-proto:1.0.0-beta01 are released with no notable changes since the last alpha. Version 1.0.0-beta01 contains these commits .
نسخه ۱.۰.۰-آلفا۰۳
۱۶ اکتبر ۲۰۲۴
androidx.core:core-location-altitude:1.0.0-alpha03 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha03 , and androidx.core:core-location-altitude-proto:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits .
Security fix
- As of this change , androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254 . Upgrade your dependency on
androidx.core:core-location-altitude-protoandandroidx.core:core-location-altitude-external-protobufto 1.1.0-alpha03 to address the vulnerability risk.
Bug Fixes
- Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )
نسخه ۱.۰.۰-آلفا۰۲
۱۲ ژوئن ۲۰۲۴
androidx.core:core-location-altitude:1.0.0-alpha02 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha02 , and androidx.core:core-location-altitude-proto:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits .
Bug Fixes
- Fixes proguard failure caused by the repackaging of proto libraries.
External Contribution
- Bug fix above provided by andrekir@pm.me
نسخه ۱.۰.۰-آلفا۰۱
۲۶ ژوئیه ۲۰۲۳
androidx.core:core-i18n:1.0.0-alpha01 and androidx.core:core-location-altitude:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.
ویژگیهای جدید
- Added
AltitudeConverterCompatclass with a single static methodaddMslAltitudeToLocation(Context, Location)( I11168 ).
Core-pip
نسخه ۱.۰
نسخه ۱.۰.۰-آلفا۰۲
۱۱ فوریه ۲۰۲۶
androidx.core:core-pip:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits .
ویژگیهای جدید
- Added
BasicPictureInPictureandVideoPlaybackPictureInPictureto streamline standard implementations. The newVideoPlaybackPictureInPictureclass allows the library to handle view-bounds tracking automatically, ensuring smoother visual transitions.
تغییرات API
- Remove the
onViewBoundsChangedAPI ( Ie56d0 , b/475328144 ) - Add
BasicPictureInPictureandVideoPlaybackPictureInPictureclasses for typical PiP usages ( I7f989 , b/475328144 )
Bug Fixes
- Add
ViewBoundsTrackerclass to continuously track the view bounds for settingsourceRectHintinPictureInPictureParamsCompat. ( Id203a , b/474454111 )
نسخه ۱.۰.۰-آلفا۰۱
۱۴ ژانویه ۲۰۲۶
androidx.core:core-pip:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .
ویژگیهای جدید
The PiP Jetpack library is introduced to address several challenges in Android's Picture-in-Picture (PiP) mode:
- OS Fragmentation: The library handles differences in PiP API calls across Android versions, such as
enterPictureInPictureModebefore Android S andisAutoEnterEnabledafter. - Incorrect PiP Parameters: It provides a unified solution for setting correct PiP parameters, especially for playback, to ensure smooth animations (eg, source rect hint).
- Fragmented PiP State Callbacks: The library consolidates
onPictureInPictureModeChangedandonPictureInPictureUiStateChangedinto a single, unified callback interface for simplified state management.
تغییرات API
-
PictureInPictureDelegateclass that helps setup PiP (Picture-in-Picture) functionalities on behalf of the givenPictureInPictureProviderinstance ( 8cf9588 ). -
PictureInPictureDelegate.onPictureInPictureEventinterface that provides a unified callback for application to listen on Picture-in-Picture events ( 8cf9588 ).
Bug Fixes
- Add
PictureInPictureParamsValidatorclass to validate the app providedPictureInPictureParamsCompat( I89b4d , b/470149490 ) - A dedicated
:core:core-piplibrary is introduced to help app developers implementing the Android PiP (Picture-in-Picture) feature ( I8ebc5 , b/462178249 )
Core-Role
Version 1.1
نسخه ۱.۱.۰
۱۲ مارس ۲۰۲۵
androidx.core:core-role:1.1.0 is released. Version 1.1.0 contains these commits .
نسخه ۱.۱.۰-rc01
۱۵ دسامبر ۲۰۲۱
androidx.core:core-role:1.1.0-rc01 is released with no changes since 1.1.0-alpha01 . Version 1.1.0-rc01 contains these commits.
Core-Role Version 1.1.0-alpha01
۱۵ آوریل ۲۰۲۰
androidx.core:core-role:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.
تغییرات API
- Added role name for system gallery.
نسخه ۱.۰
نسخه ۱.۰.۰
February 10, 2021
androidx.core:core-role:1.0.0 is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- Added
RoleManagerCompatcontaining the name and documentation for roles that might be available in the system.
Core-Role Version 1.0.0-rc01
۱۵ آوریل ۲۰۲۰
androidx.core:core-role:1.0.0-rc01 is released with no changes since 1.0.0-beta01 . Version 1.0.0-rc01 contains these commits.
Core-Role Version 1.0.0-beta01
November 20, 2019
androidx.core:core:1.0.0-beta01 is released with no changes since 1.0.0-alpha01 . Version 1.0.0-beta01 contains these commits .
Core-Role Version 1.0.0-alpha01
۲ ژوئیه ۲۰۱۹
androidx.core:core-role:1.0.0-alpha01 is released. This is the first release of androidx.core:core-role . The commits included in this initial version can be found here .
New features
- Added
RoleManagerCompatcontaining the name and documentation for roles that might be available in the system.
Core-telecom
Version 1.1
نسخه ۱.۱.۰-آلفا۰۵
۲۲ آوریل ۲۰۲۶
androidx.core:core-telecom:1.1.0-alpha05 is released. Version 1.1.0-alpha05 contains these commits .
Bug Fixes
- Fixed an issue on Android 14-16 where audio calls might unexpectedly route to speaker on the call start ( Ic7000 , b/491932378 )
- Fixed a crash (
IllegalStateException) incore-telecomthat could occur if the Telecom framework or a remote service dispatched connection events multiple times during extension setup. ( I00f82 , b/476724351 ) - Telecom will now use a fallback heuristic to identify wearable devices for audio routing decisions when the
BLUETOOTH_CONNECTpermission is denied. ( Iec271 , b/499302063 )
نسخه ۱.۱.۰-آلفا۰۴
۲۵ مارس ۲۰۲۶
androidx.core:core-telecom:1.1.0-alpha04 is released. Version 1.1.0-alpha04 contains these commits .
Bug Fixes
- Fixed an issue on older Android versions where incoming or upgraded video calls would sometimes incorrectly route audio to the earpiece. The library now enforces a switch to the speaker if this misrouting is detected. ( I0fc797 , I29fd22 )
- Removed A2DP Bluetooth devices from the list of available endpoints shown in the pre-call screen, as these devices are not supported for voice communication by the Android platform Telecom framework. This aligns the available devices with platform behavior. ( I98b729 )
- Skipped running call extensions logic for managed calls to prevent potential crashes or unexpected behavior. ( I177905 )
نسخه ۱.۱.۰-آلفا۰۳
۱۱ فوریه ۲۰۲۶
androidx.core:core-telecom:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits .
ویژگیهای جدید
- Opt-out of Premium Network Slicing: Introduced a new capability,
CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK, inCallsManager. This allows VoIP applications to signal that they wish to opt-out of the system's default behavior of requesting premium network slices for voice and video calls. By default, the system may automatically request a premium network slice to improve call quality. This capability can be passed duringregisterAppWithTelecom. ( I2dfdb ) - Control Microphone Mute Capability: Added APIs to allow VoIP apps to inform remote surfaces (like Android Auto, wearables) whether the user should be able to control the microphone state. This is useful in scenarios where the user is restricted from changing their mute state, such as being in a moderated meeting, joining as a passive viewer, or using Companion Mode. ( I55acf )
تغییرات API
- Added
CallsManager.CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK: Use this flag withregisterAppWithTelecom(int)to prevent the system from automatically requesting premium network capabilities.kotlin val callsManager = CallsManager(context) // Register with Telecom, opting out of premium network requests callsManager.registerAppWithTelecom(CallsManager.CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK) -
onCanUserUpdateSilenceis now an optional ( Ibb0c2 ) - Add APIs to inform surfaces on whether the mic should be shown or not ( I55acf )
Bug Fixes
- Fixed a
NullPointerExceptioninJetpackConnectionServicecaused by a race condition when accessing pending connection requests. This was resolved by switching to aCopyOnWriteArrayListfor thread-safe iterations. ( I24306 ) - Corrected an issue in the Meeting Summary extension where a literal string "null" was emitted instead of a true
nullvalue for the current speaker. ( Idae9a )
نسخه ۱.۱.۰-آلفا۰۱
۸ اکتبر ۲۰۲۵
androidx.core:core-telecom:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits .
ویژگیهای جدید
- Added the ability for applications to request that a specific call not be saved in the system call log, even if the app has generally opted into call logging. This feature is only effective on devices running
Build.VERSION.SDK_INT_FULL >= Build.VERSION_CODES_FULL.BAKLAVA_1.
تغییرات API
- Introduced the optional
isLogExcludedBoolean property to theCallAttributesCompatdata class. Setting this to true requests the system to exclude the call from the call log. On older platform versions, this property has no effect. Please note that VoIP calls are not logged to the system call log by default. Developers must first explicitly opt-in their application to participate in system call logging. This requires declaring an intent handler forandroid.telecom.action.CALL_BACKin the app's manifest. The newisLogExcludedproperty provides a per-call exclusion option for apps that have already enabled this integration. ( d14695 )
نسخه ۱.۰
نسخه ۱.۰.۱
۲۷ آگوست ۲۰۲۵
androidx.core:core-telecom:1.0.1 is released. Version 1.0.1 is a bug-fix release that includes the following improvements which can be found in the these commits .
Bug Fixes
- Audio Routing and Endpoint Handling
- Resolved an issue where a user's selected pre-call audio endpoint (eg, Earpiece) would be incorrectly switched to Speaker when a video call starts. The library now ensures the user's preferred audio route is maintained. ( 8fa4ba7 , 71d7be8 )
- Improved the audio switching logic to prevent calls from automatically switching from Bluetooth headset to Speaker, especially when the Bluetooth device takes a moment to connect. This check requires the BLUETOOTH_CONNECT permission to differentiate between device types.( de83f3e )
- Optimized the auto-speaker functionality for video calls for users without Bluetooth devices. The library now performs a less intrusive check for Bluetooth devices before requesting the BLUETOOTH_CONNECT permission, improving the experience for non-Bluetooth users. ( 721f4e2 )
- Stability and Crash Fixes
نسخه ۱.۰.۰
۷ مه ۲۰۲۵
androidx.core:core-telecom:1.0.0 is released. Version 1.0.0 contains these commits .
Major features of 1.0.0
- Initial stable release of core-telecom API, focusing on
CallsManagerAPI surface for integration of VoIP calls into the Android platform.
نسخه ۱.۰.۰-rc01
۹ آوریل ۲۰۲۵
androidx.core:core-telecom:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits .
ویژگیهای جدید
New experimental API call extensions. The new experimental extensions added in this release are:
- Support for a Meeting Summary Remote Extension, allowing a remote surface to receive meeting summary information (current speaker and participant count) from the connected VoIP application. ( 7cf095f )
- Support for a Call Icon Extension that allows a VoIP app to send an Icon Uri to a remote
InCallService(auto, watch face, etc.). The Icon can be updated throughout the call and can have the same URI value. ( 8e1813e )
نسخه ۱.۰.۰-بتا۰۱
۱۱ دسامبر ۲۰۲۴
androidx.core:core-telecom:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .
ویژگیهای جدید
Beta release for the following new features:
- Fetching available audio endpoints before a call is added. App developers can now display all the available endpoints before initiating a call which allows users to seamlessly select their preferred audio endpoint and optimize their setup. This eliminates the need for in-call adjustments at the start of the call, providing a smoother experience.
- Experimental API support for VOIP application call extensions. Call extensions allow an application to provide more details about an ongoing call, such as the list of participants in a group call or meeting. Supported remote surfaces such as Android Auto can then show this information to the user and allow them to interact with the supported extensions. The new experimental extensions added in this release are:
- Support for showing the participants in a group call or meeting and describing which participant is active. Support for the following optional actions on participants:
- Raising and lowering the hands of participants.
- Kicking participants.
- Support for call silence, which allows remote surfaces to silence a VOIP call without also globally muting the mic.
- Support for showing the participants in a group call or meeting and describing which participant is active. Support for the following optional actions on participants:
تغییرات API
- Rename
addLocalSilenceExtensiontoaddLocalCallsilenceExtension( If4a9c ) - Change
preferredStartingCallEndpointfromvartoval. ( Iab6b7 ) - Add local call silence APIs ( I29dd0 )
- Implement the
compareTofunction for theCallEndpointCompatclass ( Ia06b7 ) - Adds experimental app actions API. ( Ifb796 )
- Add new
CallsManagerAPIgetAvailableStartingCallEndpoints( Ia8bcf ) - Update
ExperimentalAppActionsannotation to ensure that it is accurately tracking all usages of the experimental feature. ( Id5ea5 )
Bug Fixes
- Add global mute state receiver for Android API level 28 through 33. ( I75e66 )
- Fixes an issue where only the latest connected
InCallServicewould be able to send action events ( I39599 ) - Implements ICS Extensions API for voip app actions. ( I1274c )
- Rejecting a call before API level 34 will now correctly destroy the call in Telecom. ( I635b7 )
-
addCallnow properly throws Exceptions through the API instead of the parent coroutine ( I83334 ) - Add a placeholder value to extras bundle ( Iebf7f )
- Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )
- Adds experimental support for extensions to
CallsManager#addCall. ( I24d92 ) - Core-Telecom will now throw a
CallExceptionif the platform failed to add the call due to an exception, reaching max call count, etc. ( I41f27 )
نسخه ۱.۰.۰-آلفا۰۳
۱۷ آوریل ۲۰۲۴
androidx.core:core-telecom:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits .
Bug Fixes
- Refactor of
JetpackConnectionServiceto correct an issue which occurs on SDK 33 and below when the address passed in is empty. The refactoredJetpackConnectionServiceis also resilient to unexpected NULL values from Telecom platform APIs. - Improvements to
addCall/CallControlScopeAPI documentation. - Test reliability improvements.
نسخه ۱.۰.۰-آلفا۰۲
۴ اکتبر ۲۰۲۳
androidx.core:core-telecom:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
تغییرات API
- Revamped the API signatures for methods that returned boolean to indicate success/failure to instead return a result class that clearly indicates why an operation succeeded or failed.
- Moved the
CallControlCallbackmethods as lambda args toaddCallto remove the need to explicitly provide a callback in the call scope.
Bug Fixes
- Fixed a bug in the
ConnectionServicecompatibility layer which would have resulted in no call audio when running against pre-U SDKs. - Improve API documentation.
نسخه ۱.۰.۰-آلفا۰۱
۱۰ مه ۲۰۲۳
androidx.core:core-telecom:1.0.0-alpha01 is released. This version is developed in an internal branch and should be used with Android 14 Beta 2.
ویژگیهای جدید
Introduces the
CallsManagerAPI which VoIP apps can use for integrating with the Telecom framework on a device. Calls notified to the platform benefit from foreground execution priority, visibility on Bluetooth, wearable and automotive devices, and simplified audio routing.The
CallsManagerAPI wraps the legacyConnectionServiceAPI for devices running older versions of Android.
Core-viewtree
نسخه ۱.۰
نسخه ۱.۰.۰
۲۶ فوریه ۲۰۲۵
androidx.core:core-viewtree:1.0.0 has been promoted to its first stable release with no changes since its previous RC version.
This library introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by Transition 1.6.0-alpha01 and higher. You can also specify your own disjoint parents for views. See the documentation for more information.
نسخه ۱.۰.۰-rc01
۱۲ فوریه ۲۰۲۵
androidx.core:core-viewtree:1.0.0-rc01 is released with no changes since the beta.
نسخه ۱.۰.۰-بتا۰۱
۲۹ ژانویه ۲۰۲۵
androidx.core:core-viewtree:1.0.0-beta01 is released with no changes since the alpha. Version 1.0.0-beta01 contains these commits .
نسخه ۱.۰.۰-آلفا۰۱
۱۱ دسامبر ۲۰۲۴
androidx.core:core-viewtree:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .
ویژگیهای جدید
Initial release of
core-viewtree, transitively exposed by androidx core.This initial release introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate
Viewobject that acts as the view's parent, but is not set via theView.parentproperty. Examples of Views with disjoint parents areViewOverlays, popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform'sView.parentproperty. Currently, androidx only sets the disjoint parent forViewOverlayscreated by transition. You can also specify your own disjoint parents for views. See the documentation for more information.
تغییرات API
- Adds
ViewParent.getParentOrViewTreeDisjointParent()andViewParent.setViewTreeDisjointParent(View, ViewParent?)methods ( Ib2950 )