Get app path
()
| 44 | |
| 45 | // Get app path |
| 46 | func AppPath() (result string) { |
| 47 | result, _ = os.Getwd() |
| 48 | if runtime.GOOS == "android" { |
| 49 | result = a.Storage().RootURI().Path() |
| 50 | } else if runtime.GOOS == "ios" { |
| 51 | result = a.Storage().RootURI().Path() |
| 52 | } |
| 53 | |
| 54 | return |
| 55 | } |
| 56 | |
| 57 | func GetAccounts() (result []string, err error) { |
| 58 | path := "" |
no outgoing calls
no test coverage detected