Closed Bug 1885895 Opened 1 year ago Closed 1 year ago

lemmy.zip - PWA does not open

Categories

(Firefox for Android :: PWA, defect, P1)

Firefox 125
All
Android
defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox125 --- wontfix
firefox128 --- fixed

People

(Reporter: rbucata, Assigned: jackyzy823)

References

()

Details

Attachments

(1 file)

From github: https://github.com/webcompat/web-bugs/issues/134682.

<!-- @browser: Firefox Mobile 125.0 -->
<!-- @ua_header: Mozilla/5.0 (Android 13; Mobile; rv:125.0) Gecko/125.0 Firefox/125.0 -->
<!-- @reported_with: unknown -->
<!-- @public_url: https://github.com/webcompat/web-bugs/issues/134682 -->

URL: https://lemmy.zip/

Browser / Version: Firefox Mobile 125.0
Operating System: Android 13
Tested Another Browser: Yes Chrome

Problem type: Something else
Description: when installing it as a PWA it doesn't open
Steps to Reproduce:

  1. Open the website
  2. Tap on the 3 dots
  3. Tap on "Install"
  4. The app will not open when using Firefox Nightly but it will open fine when using Chrome

<details>
<summary>Browser Configuration</summary>
<ul>
<li>None</li>
</ul>
</details>

From webcompat.com with ❤️

Change performed by the Move to Bugzilla add-on.

The issue was reported via the webcompat.com reporter. Since the issue is related to PWA installation and behaviour, we have moved the issue. Please feel free to move the issue to the correct Product and Component.

Version: unspecified → Firefox 125

Related log

I ActivityTaskManager: START u0 {act=mozilla.components.feature.pwa.VIEW_PWA dat=https://lemmy.zip/... flg=0x80000 pkg=org.mozilla.firefox cmp=org.mozilla.firefox/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity (has extras)} with LAUNCH_MULTIPLE from uid 10253 (BAL_ALLOW_VISIBLE_WINDOW) result code=0
W BpBinder: Large outgoing transaction of 568052 bytes, interface descriptor , code 1
E ActivityTaskManager: Transaction too large, intent: Intent { act=mozilla.components.feature.pwa.VIEW_PWA dat=https://lemmy.zip/... flg=0x10080000 pkg=org.mozilla.firefox cmp=org.mozilla.firefox/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity (has extras) }, extras size: 567536, icicle size: 0
W BpBinder: Large outgoing transaction of 570660 bytes, interface descriptor , code 54
W System  : A resource failed to call close.
W ActivityManager: pid 1634 system sent binder code 54 with flags 1 to frozen apps and got error -2147483646
E JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel size = 570660)
W ActivityTaskManager: Exception when starting activity org.mozilla.firefox/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity
W ActivityTaskManager: android.os.TransactionTooLargeException: data parcel size 570660 bytes
W ActivityTaskManager:   at android.os.BinderProxy.transactNative(Native Method)
W ActivityTaskManager:   at android.os.BinderProxy.transact(BinderProxy.java:584)
W ActivityTaskManager:   at android.app.IApplicationThread$Stub$Proxy.scheduleTransaction(IApplicationThread.java:1974)
W ActivityTaskManager:   at android.app.servertransaction.ClientTransaction.schedule(ClientTransaction.java:136)
W ActivityTaskManager:   at com.android.server.wm.ClientLifecycleManager.scheduleTransaction(ClientLifecycleManager.java:47)
W ActivityTaskManager:   at com.android.server.wm.ActivityTaskSupervisor.realStartActivityLocked(ActivityTaskSupervisor.java:946)
W ActivityTaskManager:   at com.android.server.wm.ActivityTaskSupervisor.startSpecificActivity(ActivityTaskSupervisor.java:1064)
W ActivityTaskManager:   at com.android.server.wm.TaskFragment.resumeTopActivity(TaskFragment.java:1549)
W ActivityTaskManager:   at com.android.server.wm.Task.resumeTopActivityInnerLocked(Task.java:5064)
W ActivityTaskManager:   at com.android.server.wm.Task.resumeTopActivityUncheckedLocked(Task.java:4994)
W ActivityTaskManager:   at com.android.server.wm.RootWindowContainer.resumeFocusedTasksTopActivities(RootWindowContainer.java:2296)
W ActivityTaskManager:   at com.android.server.wm.RootWindowContainer.resumeFocusedTasksTopActivities(RootWindowContainer.java:2282)
W ActivityTaskManager:   at com.android.server.wm.TaskFragment.completePause(TaskFragment.java:1809)
W ActivityTaskManager:   at com.android.server.wm.ActivityRecord.activityPaused(ActivityRecord.java:6360)
W ActivityTaskManager:   at com.android.server.wm.ActivityClientController.activityPaused(ActivityClientController.java:216)
W ActivityTaskManager:   at android.app.IActivityClientController$Stub.onTransact(IActivityClientController.java:663)
W ActivityTaskManager:   at com.android.server.wm.ActivityClientController.onTransact(ActivityClientController.java:153)
W ActivityTaskManager:   at android.os.Binder.execTransactInternal(Binder.java:1358)
W ActivityTaskManager:   at android.os.Binder.execTransact(Binder.java:1304)

Related code:
https://searchfox.org/mozilla-mobile/rev/de0e6af97ce1ac2e0147a0bdf199d0ff20472b26/firefox-android/android-components/components/feature/pwa/src/main/java/mozilla/components/feature/pwa/intent/WebAppIntentProcessor.kt#62


We should not pass manifest content via Intent (because we don't know if it exceeded the limit ) ,Instead we could load manifest from url here
like this

val manifest =
            args.webAppManifestUrl?.let { url -> runBlocking { requireComponents.core.webAppManifestStorage.loadManifest(url) } }
Assignee: nobody → jackyzy823
Status: NEW → ASSIGNED
See Also: → 1854455

The severity field is not set for this bug.
:boek, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)

P1 since a fix is already up for review.

Severity: -- → S3
Flags: needinfo?(jboek)
Priority: -- → P1
Pushed by tthibaud@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2c7549aad401 Do not pass manifest content in intent. r=tthibaud
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: