JUSO

Flutter package for address search in Korea

Usage

Use JusoWebView for using Kakao Korean address API

const Scaffold(
  appBar: AppBar(),
  body: JusoWebView(),
);

JusoWebView will return Juso instance.

TextButton(
  onPressed: () async {
    final juso = await Navigator.push<Juso?>(
      context,
      MaterialPageRoute(builder: (context) => const JusoScreen()),
    );

    setState(() {
      this.juso = juso;
    });
  },
  child: const Text("Let's find Korean address πŸš€"),
);

Use address when you want only basic address.

if (juso != null) Text('μ£Όμ†Œ: ${juso!.address}');

Otherwise, following this guide for using details of juso.

Setup

IOS

Add following codes to your Info.plist

<key>NSAppTransportSecurity</key>
<dict>
  <!-- add this key to allow loading of local resources -->
  <key>NSAllowsLocalNetworking</key>
  <true/>
  <!-- add this key to show webview content  -->
  <key>NSAllowsArbitraryLoadsInWebContent</key>
  <true/>
</dict>

Android

Android API level should be upper than 19 Please check your <app dir>/android/app

android {
    ...
    defaultConfig {
        ...
        minSdkVersion 19
    }
}

Libraries

juso