Skip to content

Commit

Permalink
Test PR (#1)
Browse files Browse the repository at this point in the history
* Test PR

* Test PR

* Test PR 3
  • Loading branch information
bataevvlad authored Nov 16, 2024
1 parent 015a317 commit 96b940b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Empty file removed src/__tests__/index.test.ts
Empty file.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const iosCapabilities: any = {
},
};


export const startApp = async (): Promise<void> => {
if (platform === 'android') {
const foregroundApp = getAndroidForegroundAppPackageAndActivity();
Expand Down
2 changes: 2 additions & 0 deletions src/utils/android.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export const getAndroidForegroundAppPackageAndActivity = (): ForegroundApp | nul
if (lineWithFocus) {
// ResumedActivity: ActivityRecord{cb77ef3 u0 com.example.app/com.example.app.MainActivity t93}
const match = lineWithFocus.match(
/* eslint-disable */
/ResumedActivity: ActivityRecord\{.*\s([^\s\/]+)\/([^\s\}\s]+)\s/
/* eslint-enable */
);

if (match) {
Expand Down

0 comments on commit 96b940b

Please sign in to comment.