semlette / nfc_in_flutter

Cross-platform flutter plugin for reading and writing NFC tags. Not maintained anymore - not looking for new maintainer, fork instead.
MIT License
119 stars 119 forks source link

Warning on maxSize Shorten from 64 to 32 Bit Long - iOS Version #75

Open ZippyRainbow opened 3 years ago

ZippyRainbow commented 3 years ago

NfcInFlutterPlugin.m Line 567

Currently is @"maxSize": [NSNumber numberWithInt:capacity], Needs to be: @"maxSize": [NSNumber numberWithInteger:capacity],

To overcome the warning message in iOS warning: implicit conversion loses integer precision 'const NSUInteger' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]