Skip to content

Instantly share code, notes, and snippets.

View kaciula's full-sized avatar

Catalin Morosan kaciula

  • Bucharest, Romania
View GitHub Profile
@kaciula
kaciula / log.txt
Last active April 17, 2020 05:40
Build for ios fails with Undefined symbols for architecture arm64. Full log of flutter build ios -t lib/main_release.dart --verbose
[ +39 ms] executing: [/Users/ka/dev/tools/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +51 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] f139b11009aeb8ed2a3a3aa8b0066e482709dde3
[ ] executing: [/Users/ka/dev/tools/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +108 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ +2 ms] v1.12.13+hotfix.9-0-gf139b11009
[ +8 ms] executing: [/Users/ka/dev/tools/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [/Users/ka/dev/tools/flutter/] git ls-remote --get-url origin
public class ForegroundDetector implements Application.ActivityLifecycleCallbacks {
private int refs;
private boolean isChangingOrientation;
private PublishSubject<ForegroundState> subject = PublishSubject.create();
public ForegroundDetector(Application app) {
app.registerActivityLifecycleCallbacks(this);
}