No implementation found for method camera#animate on channel Flutter - google-maps

No implementation found for method camera#animate on channel plugins.flutter.io/google_maps_1 and
plugins.flutter.io/google_maps_0 in flutter
I'm reviewing a project in flutter integrating google maps with firebase, when loading the map everything works fine, although a little slow but when closing the activity I get the errors mentioned above. Besides that the device gets very hot, is this normal?

"No implementation found for method" errors from plugins used are usually caused by either outdated plugin versions or the downloaded plugin not building properly. Running flutter clean then flutter pub get should help generate build files again. If that doesn't work, you can try updating the plugin's version.

Related

Flutter web: google map

I want to display bunch of locations on google map on flutter web.
I've done the same for android using the plug-in: google_maps_flutter
For the web Found the plug-in:
google_maps_flutter_web
But the example in the plug-in description is not useful.
My code for the android is not even compiling for the google_maps_flutter_web when I include
import 'package:google_maps_flutter_web/google_maps_flutter_web.dart';
Without normal include it is giving run time error
import 'package:google_maps_flutter_web/google_maps_flutter.dart';
Can someone please point to some code example to display list of locations on google map on flutter web?
I was getting run time error for my google_maps_flutter
The following UnimplementedError was thrown building GoogleMap(dirty,
dependencies: [Directionality], state: _GoogleMapState#5b0ef):
buildView() has not been implemented.
I found out the reason. The root cause of the error was version of my imported plug-in google_maps_flutter was older than the google_maps_flutter_web plug-in.
When I set the version of both these plug-ins to the latest version the code started working.

Cordova File Download and open it using cordova

Please forgive my ignorance, Any advice/directional assistance would be greatly appreciated.
I have a small app that reads data from an API with json requests.
One of the actions the app needs to do is to download a given PDF and open it either in the app, or in the OS default viewer.
I have followed several guides, but I think I am not including all needed files or something. The guides don't speak of including files of any type, but I still get errors.
In this link for example I followed the steps, but I am getting an error when I add these two lines in to the script at the bottom of the page:
var fileTransfer = new FileTransfer();
console.log(FileTransfer);
When running that I get the error Uncaught ReferenceError: FileTransfer is not defined at employee_documents.html:102
I am sure that either i am not including the files correctly in netbeans or I am missing something simple...
Any advise would be greatly appreciated.
To answer the question specifically. In order to solve the error, you need to run the cordova app using the CLI. In that way, the plugins installed from your cordova will be used otherwise if you're only running it via refresh or something similar it will produce an error like this.
In other words, type this command in your CLI:
cordova run browser
You can change this to your preferred platform (android, ios)

NativeScript Directions plugin using nativescript

I'm pretty new to app development scene and I am starting my journey with nativescript. For my first app I'm trying to implement a googlemaps api in my app.
But when i try to run the demo that's included with the plugin or try to implement it into my app, I keep getting the same error (the pictures below).
I've got no clue what the cause of it is and can't find any solution to it.
Has anyone had the same problem or can anyone clarify what the source of the problem is?
A sincere thank you in advance
Problem
I keep getting the following errors.
source of plugin
"https://github.com/EddyVerbruggen/nativescript-directions"
Seems like you haven't done a full build since adding the plugin, only livesynced changes. Try readding the platform folders and do a "tns run ios/android".

Getting exception "Unknown Error" after bundling the application(exe)

We are using the evaluation version of JXBrowser for some charting application. We wanted to showcase a demo to our client just to check the overall performance of charts with JXBrowser. But we encountered some unexpected issue while we were trying to build an "EXE".
The issue:
We created a build and the passed the URL from the classpath(webView.getBrowser().loadURL(getClass().getResource("/chartiq/stx-advanced.html").toExternalForm());); the build successfully generated and if we run the build we are getting exception "Unknown Error" but its working fine in the IDE(Eclipse).
Afterwards, we tried to host the html pages at some server and we were able to get the html rendered in the application.
Question:
1. Is the aforementioned issue related to evaluation version?
2. If above question is not the case, is there any fix for that? As we have crawled the web and find nothing related to this.
For the reference I attached the screen shot showing the full exception stacktrace.
Any help will be appreciated.
Thanks,
Nikhil
The reason of this issue is that JxBrowser doesn't support loading resources from JAR files. Chromium engine used in JxBrowser cannot load the /chartiq/stx-advanced.html file located inside JAR archive. You need to extract the file and load the extracted file.
FYI: we have already started working on the functionality that allows loading HTML files and other resources from JAR archives. An updated build with this functionality will be available in December.

ZXing WinRT unable to decode short QRCode

I'm trying to decode QRCode in windows store app using ZXing.
When trying to get data from:
http://api.qrserver.com/v1/create-qr-code/?data=QE3FHB01658NFG%239QM&size=490x490
I get an NullReferenceException, at line
reader.Decode(writeableBmp);
It behaves same way with other code of the same size.
However windows phone version of ZXing is capable of reading this code.
Is there any way to make this work on RT?
I have already tried to find another QRCode reading library, but I failed to find any capable of reading this code.
That error is fixed with revision 86482 of ZXing.Net. You can build your own version from the sources of the repository or wait for the next official release which includes the fix.
There is a discussion thread in the codeplex forum about that error:
https://zxingnet.codeplex.com/discussions/446214