util

package
v0.0.0-...-4f83d93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateKeystoreHash

func CalculateKeystoreHash(keystorePath string) (hash string)

func ConfigureIOSCertificates

func ConfigureIOSCertificates(config *Config)

func CreateKeystore

func CreateKeystore(config *Config)

func ParseAndroidManifest

func ParseAndroidManifest(config *Config)

func ParseCordovaConfig

func ParseCordovaConfig(config *Config)

func ParseNativeScriptConfig

func ParseNativeScriptConfig(config *Config)

func PrepareAndroidPaths

func PrepareAndroidPaths(config *Config)

func PrepareIosPaths

func PrepareIosPaths(config *Config)

func PrintAndroidManifestUpdateHint

func PrintAndroidManifestUpdateHint(config *Config)

func PrintIosInfoPlistUpdateHint

func PrintIosInfoPlistUpdateHint(config *Config)

func PrintSuccessMessage

func PrintSuccessMessage(config *Config)

func RemoveAndroidSecurityController

func RemoveAndroidSecurityController(config *Config)

func RemoveIOSSecurityController

func RemoveIOSSecurityController(config *Config)

func ReplaceManifest

func ReplaceManifest(manifest string, shouldRemoveIntentFilter bool, redirectUrl *url.URL) string

func SetAppTarget

func SetAppTarget(appTarget string, config *Config)

func SetFlavorName

func SetFlavorName(flavorName string, config *Config)

func VerifyTsZipContents

func VerifyTsZipContents(config *Config)

func WriteAndroidAppScheme

func WriteAndroidAppScheme(config *Config)

func WriteAndroidConfigModel

func WriteAndroidConfigModel(config *Config, generateJavaConfigModel bool)

func WriteIOSConfigModel

func WriteIOSConfigModel(config *Config)

func WriteIosConfigModel

func WriteIosConfigModel(modelMFile []byte, modelHFile []byte, config *Config)

Types

type Config

type Config struct {
	Options                  *options
	Certs                    map[string]string
	Cordova                  cordovaConfig
	NativeScript             nativeScriptConfig
	AndroidManifest          androidManifest
	AppDir                   string
	AppTarget                string
	FlavorName               string
	ConfigureForCordova      bool
	ConfigureForNativeScript bool
}

func ParseConfig

func ParseConfig(appDir string, configPath string) (config *Config)

type NS

type NS struct {
	ID string `json:"id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL