Smile Egbai
Android developer @Paylater.ng
Mobile support was frequently requested
go get golang.org/x/mobile/cmd/gobind
const DEBIT = "debit"
type Sms struct {
/.../
}
func IsAccountAlert(value string) bool {
/.../
return alert
}
func IsDebit(body string) bool {
return s.Contains(body, DEBIT)
}
func TagCategory(body string) string {
/.../
return ""
}
public static final String DEBIT = "debit";
public static native double getAmount(String body);
public static native String getCurrency(String body);
public static native String getDate(String body);
public static native boolean isAccountAlert(String value);
public static native boolean isDebit(String body);
public static native String tagCategory(String body);gomobile bind -target=android|ios
result -> xyz.framework || xyz.aar
REFERENCES