Open rohnsht opened 4 years ago
see this issue https://github.com/alann-maulana/flutter_beacon/issues/41
Sometimes I do a silly updates 😅
You can change your dependency:
flutter_beacon:
git:
url: git@github.com:alann-maulana/flutter_beacon.git
ref: develop
I do a lot of fix, updates and maybe breaking changes there (branch develop
)
I'll merge it to master
when it is stable enough and publish it to the pub server
I have this error:
Git error. Command: git clone --mirror git@github.com:alann-maulana/flutter_beacon.git /Users/marcos/flutter/.pub-cache/git/cache/flutter_beacon-10eb7980ca62ae8c59eea4cf5d8ac5f5df114c6f Cloning into bare repository '/Users/marcos/flutter/.pub-cache/git/cache/flutter_beacon-10eb7980ca62ae8c59eea4cf5d8ac5f5df114c6f'...
Host key verification failed. fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
pub get failed (server unavailable) -- attempting retry 9 in 64 seconds...
Can you change the url
to using https to https://github.com/alann-maulana/flutter_beacon
and try to flutter pub get
again?
I still get the error after getting your development code from git.
`2020-04-14 14:48:41.093388-0700 Runner[1053:265466] [VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: type 'int' is not a subtype of type 'bool' in type cast
Sometimes I do a silly updates 😅
You can change your dependency:
flutter_beacon: git: url: git@github.com:alann-maulana/flutter_beacon.git ref: develop
I do a lot of fix, updates and maybe breaking changes there (branch
develop
) I'll merge it tomaster
when it is stable enough and publish it to the pub server
I tried this but still getting an error on iOS. For temporary I have replaced your code as below which works fine. But I need to handover my code to client shortly so on his machine pub get will create an issue again.... Can u plz look into this? ,
// $$$ TEMP HACK $$$ //
Future<bool> get initializeScanning async {
if(Platform.isAndroid)
return await _methodChannel.invokeMethod('initialize');
else {
int result = await _methodChannel.invokeMethod('initialize');
if(result > 0) return true;
return false;
}
}
////#### ERROR Message #####/////
`[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: type 'int' is not a subtype of type 'bool' in type cast
I think the version 1.0.10 solves this problem.
In you yaml file:
beacons_plugin: ^1.0.10
I am not able to initialise flutterBeacon after updating to latest version 0.3.0. Here is my log: `[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: type 'int' is not a subtype of type 'bool'
0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:13)