Post

Replies

Boosts

Views

Activity

Detecting the new iOS 14 Local Network Access permissions
Is there any new API for the new Local Network Access permissions? I have an app that uses the local network so users can configure their internet router. Currently when the local network permission appears, it throws a NSURLErrorNotConnectedToInternet The internet connection appears to be offline. which is no help at all. The same happens if the user disables the Local Network Privacy, future requests throw the NSURLErrorNotConnectedToInternet error. NSURLErrorNotConnectedToInternet can obviously be thrown in other situations, so this doesn't help us prompt the user to the issue and I can already foresee many support requests around this. I have submitted bug report FB8448776 Additionally, there seems to be a bug were the local network permissions do not appear in the apps own settings page. Bug report FB8448959
2
0
3.7k
Aug ’20
Safari redirect to base64 encoded html fails on iOS 14
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?
8
0
6.8k
Jun ’20
Mac In-App Purchase 'Machine licensed app does not support in-app purchase'
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.
12
0
5.0k
Sep ’19