ui/app: (iOS) move UIWindow notifications to GioView

Simplifies GioAppDelegate and allows for proper deregistering of
listener.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
README.md: fix link

Thanks to Antonio D'souza for noticing.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: list available bundle ids when no match was found

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: provide DT* fields in iOS Info.plists

Required by App Store.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: specify CFBundleSupportedPlatforms in iOS ipa bundles

Required by App Store.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: add support for iOS App Store icons

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: support app icons

If there is an appicon.png file in the main package the gio tool
will use it for Android and iOS apps in buildmode exe.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: handle subdirectories in apk files

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: specify UISupportedInterfaceOrientations

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: add -version flag

For Android and iOS.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: drop appDir function

It's not worth its weight.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: specify UIDeviceFamily

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: filter out unsupported architectures, specify MinimumOSVersion

For the App Store.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: set DTPlatformName, DTPlatformVersion, UIRequiredDeviceCapabilities

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: use the package name for app directories inside ipa files

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gio: add provisioning file to ipa apps

Required by App Store.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/go.*: update golang.org/x/sys

In particular to get the ptrace fix for iOS from

https://go-review.googlesource.com/c/sys/+/182317

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps/go.mod: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: fix init() appending '' to os.Args

init() says

  args := strings.Split(extraArgs, "|")
  os.Args = append(os.Args, args...)

strings.Split says

  If s does not contain sep and sep is not empty, Split returns a slice
  of length 1 whose only element is s.

which means init() adds a blank arg to the end of os.Args when extraArgs
is empty.  This fixes that.

Signed-off-by: Larry Clapp <larry@theclapp.org>
ui/app: support EGL versions >= 2.0

Versions with major > 1 don't exists, but let's handle the version
correctly in any case.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
Next