Created
January 30, 2020 18:04
-
-
Save DreddyI/a99fe9346f2a6f3c0bb0fda8e2b0541d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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