package mobile
import "fyne.io/fyne/v2/cmd/fyne/internal/mobile"
Package mobile is a partial clone of the golang.org/x/mobile/cmd/gomobile package. It also includes the golang.org/x/mobile/internal/bindata as a subpackage.
The full project, it's license and command line tools can be found at https://github.com/golang/mobile
This package is for the purpose of removing a runtime dependency and will be removed in due course.
Index ¶
- func AppOutputName(os, name string) string
- func DetectIOSTeamID(optCert string) (string, error)
- func RunNewBuild(target, appID, icon, name, version string, build int, release bool, cert, profile string) error
- type Writer
Functions ¶
func AppOutputName ¶
AppOutputName provides the name of a build resource for a given os - "ios" or "android".
func DetectIOSTeamID ¶
DetectIOSTeamID finds the team ID used by the app certificates. The optional parameter specifies the certificate name to use. If none is specified the code will check standard names
func RunNewBuild ¶
func RunNewBuild(target, appID, icon, name, version string, build int, release bool, cert, profile string) error
RunNewBuild executes a new mobile build for the specified configuration
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer implements an APK file writer.
func NewWriter ¶
func NewWriter(w io.Writer, priv *rsa.PrivateKey) *Writer
NewWriter returns a new Writer writing an APK file to w. The APK will be signed with key.
func (*Writer) Close ¶
Close finishes writing the APK. This includes writing the manifest and signing the archive, and writing the ZIP central directory.
It does not close the underlying writer.
func (*Writer) Create ¶
Create adds a file to the APK archive using the provided name.
The name must be a relative path. The file's contents must be written to the returned io.Writer before the next call to Create or Close.
Source Files ¶
bind.go build.go build_androidapp.go build_iosapp.go cert.go clean.go dex.go doc.go env.go init.go main.go manifest.go strings_flag.go writer.go
Directories ¶
Path | Synopsis |
---|---|
cmd/fyne/internal/mobile/binres | Package binres implements encoding and decoding of android binary resources. |
- Version
- v2.1.0
- Published
- Sep 17, 2021
- Platform
- windows/amd64
- Imports
- 36 packages
- Last checked
- 8 hours ago –
Tools for package owners.