flutter_statusbarcolor icon indicating copy to clipboard operation
flutter_statusbarcolor copied to clipboard

iOS build error: warning: implicit conversion from 'long long' to 'NSInteger' (aka 'int')

Open christianarduino opened this issue 5 years ago • 2 comments

/Users/christian/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_statusbarcolor-0.2.3/ios/Classes/FlutterStatusbarcolorPlugin.m:15:37: warning: implicit conversion from 'long long' to 'NSInteger' (aka 'int') changes value from 38482458385 to -172247279 [-Wconstant-conversion] static NSInteger statusBarViewTag = 38482458385;

How I use plugin in my code: FlutterStatusbarcolor.setStatusBarColor(Theme.of(context).accentColor);


flutter doctor

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale it-IT)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.3) [✓] Android Studio (version 3.5) [!] VS Code (version 1.41.1) ✗ Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (1 available)

christianarduino avatar Jan 10 '20 01:01 christianarduino

cast it to int insided FlutterStatusbarcolorPlugin.m static NSInteger statusBarViewTag = (int)38482458385;

basnetjiten avatar Jan 15 '20 06:01 basnetjiten

ETA on this as it generates an XCode warning?

codegrue avatar May 06 '20 20:05 codegrue