DoujinStars
João Dias
João Dias

patreon


Sneak Peek - Join on Firefox and Edge - Second Try

You may have seen my post last week about this: https://www.patreon.com/posts/sneak-peek-join-37665395

Time for a second try for anyone that's interested :)

The instructions to try it out are the same as last time.

I've added a whole lot of stuff to the web app, including SMS and notification support.

Get the updated Join Android APK here:  https://drive.google.com/file/d/18V276YwSlfc3voV1s-SUxdCfoP9fCerp/view?usp=sharing

Let me know how this new version works! :)

Comments

Ahh, that explains it... BroadcastChannel is not supported in Safari :/ Ok, will have to find an alternative for that... Thanks for testing!

João Dias

The console shows the following: [Error] ReferenceError: Can't find variable: BroadcastChannel Global Code (fcm.js:373) [Error] Failed to load resource: the server responded with a status of 404 () (dexie.js.map, line 0) [Error] SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list. promiseReactionJob

Steven Ihde

thanks for testing! :) Would you be able to check the console in the developer console to see what error you're getting when trying to load the website? Thanks again!

João Dias

No luck with Safari. The Join web page would not even load. Once it showed plain text like "Loading Join...". Several other times it just hung there without ever rendering any sort of a page (but with a lock icon, i.e. it completed TLS handshake). Tried with Private and regular windows, with and without having signed into my Google account, none of that made a difference. Also tried on a different MacBook, same result. Haven't had a chance to try regular Edge yet; need to figure out if it will mess with my existing profiles. Will report back when I get a chance.

Steven Ihde

Cool! Thank you! :)

João Dias

Correct. Everything seems to be working now I set the port manually.

Brayden Houston

Do you mean that local network works correctly now for you? :)

João Dias

Looks like that is working now.

Brayden Houston

Hhmm, I wonder if that's the issue. On Windows the dev version also didn't work correctly for me. You wouldn't be able to also install the normal version of edge would you? :) by the way, does it work on Safari? I'll look into notifications, thanks! About the certificate, in my experience it asks for it again if the phone's IP changes. Could that be it?

João Dias

Thank you! Could you please try setting a manual port in Advanced settings? Set it to something like 2020 and see what happens. Thanks again!

João Dias

Nice! I was able to get local network functioning this time. Seems to be working OK. BTW, after entering a number in the "Port" field, it's impossible to remove it and go back to the random port number... setting the field to blank or "0" produces an error that the port number must be "higher than 1024". I also wonder how stable "local network" will be... it seems impossible to permanently accept these self-signed certificates any more. (I have a few on my local network, and after a few days or weeks both Chrome and Edge always eventually wind up prompting me again, as though it forgot I ever accepted the cert.) SMS seems to be working OK but I didn't do much testing. Notifications didn't seem to do anything... hitting the notifications button on the web opened a new Notifications page, but it displays no notifications even though there are pending notifications on the phone. Pushes from phone->browser still don't work when the Join tab is closed (we discussed this on the previous post) but for now I'll chalk that up to Edge-on-Mac instability with the Service Worker. BTW I'm using the "dev" build of Edge from the Insider program. Dev is the one updated weekly; at the moment I'm running 85.0.531.1.

Steven Ihde

Settings: Enabled: True Allow Unauth: True (turned this on to troubleshoot) Port: Running the diagnose tool shows this error: https://drive.google.com/file/d/1X9UQmEDo5X8hGDsmjCP8suiazFzZ5fF4/view?usp=sharing Meanwhile on my computer it does try to open the /files address in Firefox but the page fails to load. Changing from https and http doesn't change anything.

Brayden Houston

Also, what happens if you diagnose local network on your phone?

João Dias

Hhmm, interesting :P What are your local network settings on your phone configured like?

João Dias

The page fails to load in the end but it looks like it is trying to hit: https://:43331/acceptcertificate?token=

Brayden Houston

Hhmm, and nothing is showing on that new tab?

João Dias

Looks like Local Network is still having some issues. Here is the message I get: "OnePlus 6 can be contacted via local network but you have to accept an unsafe https certificate that originates from the Android Join app. If you do, you can then communicate with OnePlus 6 via your local network. Want to do that now?" I can click yes and a tab opens but nothing happens.

Brayden Houston

Ok, I've updated a few things that should fix those issues :) Can you please try again now? THanks again!

João Dias

I have 2 line of output in the console. The first one shows "New Message". The second is TypeError: invalid assignment to const 'files' apphelpergcm.js 71:35

Brayden Houston

Thank you very much for testing! What happens when you try to send a file to your PC? Is there an error shown?

João Dias

You weren't kidding you added a ton! Local network on the browser seems to be having trouble finding my phone. I think that might be affecting some of my tests. Clipboard still has to be done manually but the push still goes through Screenshot and capture worked fine after jumping through a few popup and certificate hoops the first time. Ringing my phone from the browser works fine. Locate works both ways perfectly. sending a speak command from my phone to a browser seems to be having some issues, not sure if that's supposed to work yet. Browser to phone works. Browser to phone open app works. Send local app and send local file from phone to browser isn't working. Again could be related to the local network issue mentioned previously.

Brayden Houston


More Creators