Skip to content

Instantly share code, notes, and snippets.

@DreddyI
Created January 30, 2020 18:04
Show Gist options
  • Select an option

  • Save DreddyI/a99fe9346f2a6f3c0bb0fda8e2b0541d to your computer and use it in GitHub Desktop.

Select an option

Save DreddyI/a99fe9346f2a6f3c0bb0fda8e2b0541d to your computer and use it in GitHub Desktop.
package com.ablefinder.app
import android.os.Bundle
import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant
import com.yandex.mapkit.MapKitFactory;
class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
MapKitFactory.setApiKey("YOUR_API_KEY")
GeneratedPluginRegistrant.registerWith(this)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment