Posts

Post marked as solved
8 Replies
5.2k Views
For years i've been able to redirect a webpage to some html content that is hardcoded in base64, either using the mete refresh tag like this: <html> <head> <meta http-equiv="refresh" content="0;url=data:text/html;base64,PCFET0NUWVBFIEhUTUw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHRpdGxlPldlPC90aXRsZT4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCIgLz4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIFRFU1QKICAgICAgICAKICAgIDwvYm9keT4KPC9odG1sPgo="> </head> or using javascript like this: <html> <head> </head> <body> <script> window.location.href = 'data:text/html;base64,PCFET0NUWVBFIEhUTUw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHRpdGxlPldlPC90aXRsZT4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCIgLz4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIFRFU1QKICAgICAgICAKICAgIDwvYm9keT4KPC9odG1sPgo='; </script> </body> The redirect no longer seems to work on iOS 14. I'm hoping this hasn't been changed by design, but I don't think it has as the page renders just fine if I paste the string into the URL bar: data:text/html;base64,PCFET0NUWVBFIEhUTUw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHRpdGxlPldlPC90aXRsZT4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCIgLz4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIFRFU1QKICAgICAgICAKICAgIDwvYm9keT4KPC9odG1sPgo= I have a live app on the App Store that's been running for 7 years that relies heavily on this. Does anyone know of another way to redirect to a base64 encoded webpage?
Posted
by dazboj.
Last updated
.
Post not yet marked as solved
12 Replies
4.5k Views
In the last 2 days there seems to be a mjor bug with the Mac App Store.Users trying to purchase an in app auto renewing subscription are getting the following error:This is an App Store error and there is nothing wrong with the users accounts.The only way the user can fix it is by deleting the app and re-downloading it again from the App Store.
Posted
by dazboj.
Last updated
.
Post marked as solved
1 Replies
625 Views
Is there any way to be notified of a forum reply or subscribe to a forum topic in these new developer forums? Leaving tabs open with each forum topic you want to view replies on is getting a bit much.
Posted
by dazboj.
Last updated
.
Post not yet marked as solved
1 Replies
987 Views
I'm having issues uploading builds to App Store Connect through XCode 11.3.1 and 11.4 beta 2.I go through the signing process after clicking `Distribute App` and when it gets to the `Uploading` page it goes through the process of creating the API analysis file, Authenticating with the App Store, Verifying Assets with the App Store but when it gets to `Uploading package to the App Store...` the progress bar jumps to 100% and I see from my network that nothing is happening.I have tried using 2 different Mac's on 2 different networks (WiFi & 3G) and have this issue regardless which project I am uploading.If I keep trying and trying, it might eventually go through after maybe 20 tries which can take hours.I have no third party firewalls and 1 Mac has MacOS firewall disabled.Any ideas?
Posted
by dazboj.
Last updated
.
Post not yet marked as solved
0 Replies
955 Views
I install full screen web apps to the home screen of an iOS device and have some javascript run each time the web app is launched. Apple have made a change in iOS 13 whereby scripts are only run the first time it is launched as when the webclip is alive in the App Switcher, it will just continue where it left of when it's brought back to the front. I'm assuming this is by design, so users can switch to say a calender and back to the web app without it restarting.So to make javascript run some code each time the app is brought to the foreground or launched, I thought I could simply use some notifications watching focus, blur or visibilitychange or maybe looking at document.activeElement, document.hasFocus() or document.hidden.Here's the gotcha...iOS 13 has a bug that I have reported but doesn't look like it's going to be fixed any time soon and is still present in 13.1.1 (FB7144365)BugIf you have more than one home screen web app, it's as if they all share the same web container or something. Launching a 2nd web app causes all the focus type notifications to fire on previously opened web apps as if they had become front and centre again. This means any javascript code is going to run as if it had been launched, even when it hasn't.QuestionI am trying to find a way around this bug and be notified when a web app is launched or become front and centre again. Using onLoad type code will only run once whilst the web app is left in the app switcher. Watching focus type events will fire unnecessarily as other web apps are launched. Are there any other events or methods I can try calling, or any tricks I could try to implement?
Posted
by dazboj.
Last updated
.
Post not yet marked as solved
0 Replies
434 Views
If you install more than one home screen web app that use the `visibilitychange` notification. After launching 1 you launch another, the visibilitychange notification is fired on all of them that you previously opened. This can cause all sorts of unwanted behaviour. (Bug report FB7007530)
Posted
by dazboj.
Last updated
.
Post not yet marked as solved
0 Replies
823 Views
In all the iOS 13 betas so far up until beta 6, when testing my app in the Simulator I get no responce from the SKProductsRequest start call.It works fine when testing on a device, and it works fine when testing the MacOS version of my app, it's just the iOS simulator not returning any available purchases.Is this siply a restriction of running a beta, or could this be a problem?
Posted
by dazboj.
Last updated
.