:wave: Hello, team! I have error with rudder on we...
# support
e
👋 Hello, team! I have error with rudder on web, flutter web app not open with error in console:
UnimplementedError: initialize(String writeKey,{RudderConfig? config, RudderOption? options}) has not been implemented.
Here is my code in index.html head:
<script>
rudderanalytics = window.rudderanalytics = [];
for (var methods = ["load", "page", "track", "identify", "alias", "group", "ready", "reset", "getAnonymousId", "setAnonymousId"], i = 0; i < methods.length; i++) {
var method = methods[i];
rudderanalytics[method] = function(_a_) {
return function() {
rudderanalytics.push([_a_].concat(_Array_.prototype.slice.call(_arguments_)))
}
}(method)
}
</script>
<script _src_="https://cdn.rudderlabs.com/v1/rudder-analytics.min.js"></script>
and my init code in main.dart:
RudderLogger.init(RudderLogger._VERBOSE_);
RudderConfigBuilder builder = RudderConfigBuilder();
builder.withDataPlaneUrl(dataPlaneURL);
rudderClient.initialize(
rudderKey,
_config_: builder.build(),
);
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
e
problem was solving, after i update flutter from 3.16.3 to 3.16.9
m
Hi Sapar, sorry for the late reply. Thanks for the update.