Developers face a technical challenge when trying to open another app from their own on Android 11 and later. This issue arises under Google’s closed testing rules for new personal developer accounts. To meet the requirement of 12 testers who remain engaged for 14 consecutive days, developers must verify real user activity—specifically, daily app openings—without relying on automated or synthetic data. Source: dev.to.
Why Open Another App?
Google’s closed testing program requires at least 12 testers to opt in and actively use an app for 14 consecutive days before a developer can publish to the Google Play Store. While the first requirement—opt-in count—is publicly documented—there is no public explanation of how Google measures ‘engagement.’ This ambiguity means developers must rely on their own systems to track actual usage.
The solution involves a small tester app that runs on each tester’s device. Each day, the app opens the target application and records the event. The first successful open of a day counts toward engagement. If a tester fails to open the app for three consecutive days, they are flagged as at risk, allowing the developer to prompt them to re-engage or replace them.
Crucially, this system does not depend on a single, perfect method. Instead, it adapts to the Android version and device capabilities, ensuring reliability across diverse environments.
Package Visibility Changes in Android 11+
Starting with Android 11 (API level 30), Android introduced stricter package visibility controls. Apps targeting API 30 or higher are no longer allowed to see all installed packages on a device. The method getLaunchIntentForPackage() returns null for any app that is not visible to the current app—exactly as if it weren’t installed.
According to official documentation, this change was implemented to enhance user privacy and reduce the risk of apps accessing sensitive information about other installed applications. However, it creates a significant obstacle for closed testing, where developers need to verify that users are actually using their apps.
Workarounds for Different Android Versions
Android 13 and Later
With the release of Android 13 (API 33), Google introduced a new method: PackageManager.getLaunchIntentSenderForPackage(). This method returns an IntentSender object that represents the launcher activity of a specified package, even if the app is not installed.
As reported in the Android developer documentation, this API does not rely on package visibility and is not subject to the same filtering rules as older methods. In testing environments, it consistently returns a valid IntentSender for any package, regardless of whether the app is present or not.
Here is the implementation in Kotlin:
- Retrieve the IntentSender for the target package using
getLaunchIntentSenderForPackage(). - Use
startIntentSender()to launch the app with the IntentSender. - On Android 14 and above, explicitly allow background activity launches using
ActivityOptionswithMODE_BACKGROUND_ACTIVITY_START_ALLOWED.
One developer noted that the tester app is in the foreground when initiating the launch, which means it automatically satisfies the permission requirement for background activity launches. This is handled through ActivityOptions, which is deprecated in newer API levels but remains functional with a suppression annotation for backward compatibility.

If the app is not installed, the launch fails with either an ActivityNotFoundException or an IntentSender.SendIntentException. Both errors are recorded as ‘not installed’—exactly the signal needed to detect absence without querying the full package list.
Android 11 and -12
Android 11 and 12 do not include the IntentSender API. However, a direct intent can launch an app if the launcher activity class is known. The intent must specify both the package name and the full class name of the launcher activity.
For example, if the app is named com.acme.notes, the launcher activity might be com.acme.notes.free.MainActivity. The class name must be provided in full, not just as .MainActivity.
One developer observed that many teams copy the manifest entry and assume that .MainActivity is sufficient. However, the actual class name is determined by the Gradle namespace, which may differ from the application ID. For instance, with an application ID of com.acme.notes.free and a namespace of com.acme.notes, the correct class is com.acme.notes.free.MainActivity.
If the class name is incorrect or incomplete, the launch fails—just as if the app were missing. To prevent this, the tester app now validates the class name and refuses shortened inputs. It also issues a warning when the class is outside the expected package namespace, helping developers avoid false failures.
No Method Available on Android 11–12 Without Activity
When the launcher activity field is left blank, no method works. The tester app cannot initiate a launch, and no automated detection occurs.
One developer described a fallback mechanism: the tester must open the app themselves and send a screenshot to a human reviewer at Peerbeta. Only after the screenshot is approved does the day count toward engagement. This process is slower and less scalable, but it ensures that the data reflects real, human interaction.
While this approach adds human oversight, it also introduces a delay in data collection. In high-volume testing scenarios, this could become a bottleneck. Therefore, it is best used as a last resort when automated methods are not feasible.
What Works Across Versions
The decision logic for launching an app is based on the Android version and the availability of the launcher class:
- Android 13 and later: Use
getLaunchIntentSenderForPackage(). - Android 11–12: Use an explicit intent with the full launcher activity class name.
- Android 11–12: If no class name is provided, fall back to manual screenshot review.
- Android 8–10: Use
getLaunchIntentForPackage()—no visibility filtering applies on these versions.
Each launch is logged with metadata: the method used (e.g., IntentSender, explicit intent), the outcome (opened, not installed, failed), and the exception type (if any). This allows developers to detect patterns of failure—such as a missing app or a misconfigured class—without relying on silent zeros.

Device Integrity and Real-World Checks
Each launch can include a Play Integrity token. As described in the official Play Integrity documentation, this token verifies that the device meets Google’s device integrity standards—such as having a real operating system, proper security policies, and no known emulator signatures.
One developer reported that if a device is detected as emulated or lacks proper security, it generates a risk score. This score is not used to deny access outright but is reported to the developer and used to flag devices for deeper review.
Such checks help prevent fake or automated usage. They ensure that the engagement data reflects real users, not bots or test devices.
Practical Lessons from the Development Process
Building this feature revealed several operational realities that developers must consider:
- Count day 1 from verified installs, not from invites. Invited testers typically take one to two days to install and opt in.
- A tester who opts out and then re-opts in begins a new 14-day period. This resets the engagement count. Similarly, replacing a tester also resets the timeline. Therefore, replacements should be made early to avoid gaps.
- Testers must not be included in your internal test track. Google explicitly states that users who participate in internal testing are ineligible for closed testing. This rule must be strictly enforced to avoid disqualification.
- Ship an update during the test period. Google recommends this practice, and it is explicitly mentioned in the production form. Updates help validate real-world usability and demonstrate responsiveness to user feedback.
These practices not only improve compliance but also enhance the quality of the engagement data collected.
About Peerbeta
Peerbeta is a service designed to simplify the closed testing process for Android developers. It provides a dedicated tester app that runs on each tester’s device and records daily app openings.
Peerbeta offers both free and paid options. The free tier includes a circle of 16 developers who test each other’s apps for 14 days. Paid plans start at $19 (20 testers) or $39 (25 testers), with a one-time fee.
Developers receive a detailed report at the end of the 14 days, including verified installs, daily activity logs, and feedback on days 1, 7, and 14. The report also includes draft answers for Google’s production form, reducing the time and effort required to prepare for publication.
Peerbeta also provides free tools such as an opt-in link checker and a production access date calculator, which help developers plan their testing timelines and ensure compliance with Google’s requirements.
For developers seeking a more streamlined approach to closed testing, Peerbeta offers a practical, real-world solution that balances automation with human oversight.
Sources & further reading
Featured image: original publisher image. Via original publisher. Image source
