اختبار التحديثات داخل التطبيق
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يوضِّح هذا الدليل كيفية اختبار التحديثات
داخل التطبيق في تطبيقك.
الاختبار بواسطة مشاركة التطبيقات داخليًا
استخدِم مشاركة التطبيقات الداخلية
لاختبار التحديثات داخل التطبيق من خلال تنفيذ الخطوات التالية:
تأكَّد من أنّ جهاز الاختبار يحتوي على إصدار من تطبيقك مثبَّت يتوافق
مع التحديثات داخل التطبيق وأنّه تم تثبيته باستخدام عنوان URL لمشاركة التطبيق داخليًا.
اتّبِع تعليمات Play Console
لمشاركة تطبيقك داخليًا.
حمِّل إصدارًا من تطبيقك يستخدم رمز إصدار أعلى من الإصدار الذي ثبَّته من قبل على جهاز الاختبار.
على الجهاز الاختباري، انقر على رابط مشاركة التطبيقات الداخلية للإصدار المحدَّث من تطبيقك ولكن لا تثبِّت التطبيق من صفحة "متجر Play" التي تظهر بعد النقر على الرابط.
افتح التطبيق من درج التطبيقات في الجهاز أو الشاشة الرئيسية. من المفترض أن يكون التحديث
متاحًا الآن لتطبيقك، ويمكنك اختبار تنفيذ التحديثات
داخل التطبيق.
تحديد المشاكل وحلّها
يوضِّح هذا القسم بعض الحلول الممكنة للمواقف التي قد لا تعمل فيها التحديثات
داخل التطبيق على النحو المتوقع أثناء الاختبار:
تتوفّر التحديثات داخل التطبيق فقط لحسابات المستخدمين التي تملك التطبيق. تأكّد
من أنّ الحساب الذي تستخدمه قد نزّل تطبيقك من Google Play مرة واحدة على الأقل
قبل استخدام الحساب لاختبار التحديثات داخل التطبيق.
تأكَّد من أنّ التطبيق الذي تستخدمه لاختبار التحديثات داخل التطبيق يتضمّن
معرِّف التطبيق ومفتاح
التوقيع نفسَيهما للإصدار المتوفّر من Google Play.
لا يمكن لمتجر Google Play تحديث التطبيق إلا إلى رمز إصدار أحدث. تأكَّد من أنّ التطبيق الذي تختبره يتضمّن رمز إصدار أقل من رمز إصدار التحديث.
يُرجى العلم أنّ الحقل inAppUpdatePriority
غير متاح عند تحميل تطبيقك إلى ميزة "مشاركة التطبيقات مع الفريق الداخلي".
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Test in-app updates\n\nThis guide describes how to test [in-app\nupdates](/guide/playcore/in-app-updates) in your app.\n\nTest with internal app sharing\n------------------------------\n\nUse [internal app\nsharing](https://support.google.com/googleplay/android-developer/answer/9844679)\nto test in-app updates by performing the following steps:\n\n1. Make sure your test device has a version of your app installed that supports\n in-app updates and was installed using an internal app sharing URL.\n\n2. Follow the Play Console instructions to\n [share your app internally](https://support.google.com/googleplay/android-developer/answer/9844679).\n Upload a version of your app that uses a version code that is higher than the\n one you already have installed on the test device.\n\n3. On the test device, click the internal app sharing link for the updated\n version of your app but *do not* install the app from the Play Store page\n that appears after you click the link.\n\n4. Open the app from the device's app drawer or home screen. The update should\n now be available to your app, and you can test your implementation of in-app\n updates.\n\nTroubleshoot\n------------\n\nThis section describes some possible solutions to situations where in-app\nupdates might not work as expected during testing:\n\n- In-app updates are only available to user accounts that own the app. Make\n sure the account that you're using has downloaded your app from Google Play at\n least once before using the account to test in-app updates.\n\n- Make sure that the app that you are using to test in-app updates has the same\n [application ID](/studio/build/configure-app-module#set_the_application_id) and [signing\n key](/studio/publish/app-signing) as the version available from Google Play.\n\n- Google Play can only update an app to a higher version code. Make sure that\n the app that you are testing has a lower version code than the update version\n code.\n\n- The `inAppUpdatePriority` field is not supported when uploading your app to internal app sharing."]]