appfile

package module
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 21 Imported by: 0

README

appfile-info

ipa and apk parser written in golang, aims to extract app information

Build Status

APPFILE INFO


  	//common
	Name                     string
	BundleId                 string
	Version                  string
	Build                    string
	Icon                     image.Image
	Size                     int64
	
	//apk file only
	ApkDebug                 bool
	
	//ipa file only
	IosPlatform              []string
	IosSigningType           string //development, ad-hoc, enterprise, app-store
	IosSigningExpirationDate string
	IosProvisionedDevices    []string
	

INSTALL

$ go get github.com/follyxing/appfile-info

USAGE

package main

import (
	"fmt"
	"github.com/follyxing/appfile-info"
)

func main() {
	apk, _ := appfile.NewAppParser("test.apk")
	fmt.Println(apk)
}

Thanks

fork from : https://github.com/phinexdaz/ipapk

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoIcon = errors.New("icon not found")
)

Functions

This section is empty.

Types

type AppInfo

type AppInfo struct {
	Name                     string
	BundleId                 string
	Version                  string
	Build                    string
	Icon                     image.Image
	Size                     int64
	ApkDebug                 bool
	IosPlatform              []string
	IosSigningType           string
	IosSigningExpirationDate string
	IosProvisionedDevices    []string
}

func NewAppParser

func NewAppParser(name string) (*AppInfo, error)

Jump to

Keyboard shortcuts

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