Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Draft code for integrating Places (new) in Android #91

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@
![Tests](https://github.com/matanshukry/flutter_google_places_sdk/actions/workflows/tests.yml/badge.svg)

A Flutter plugin for google places sdk that uses the native libraries on each platform.
Check out [Rational](##RATIONAL) below to understand why you should use this plugin.
Check out [Rationale](##RATIONALE) below to understand why you should use this plugin.

## Usage

To use this plugin, add `flutter_google_places_sdk` as a [dependency in your pubspec.yaml file](https://flutter.dev/platform-plugins/).

## Support

| | Android | iOS | Web | MacOS | Windows | Linux |
|--------------------|---------|-----|-----|-------|---------|-------|
| Supports (new) API | ✅ | ❌ | ❌ | | | |
| Text Search | | | | | | |
| Current Place | | | | | | |
| Place Details | | | | | | |
| Place Photos | | | | | | |
| Place Autocomplete | | | | | | |

## Web Usage

When using the web support you also need to enable the Maps JavaScript API in google cloud:
Expand All @@ -20,7 +31,7 @@ https://developers.google.com/maps/documentation/javascript/get-api-key
Limits:
* Location restriction is not supported. See google issue tracker for more info: https://issuetracker.google.com/issues/36219203

## Rational
## Rationale

By now you probably found some other plugins, and wondering why this one was even created.
Well, there's a good reason for that.
Expand Down
2 changes: 1 addition & 1 deletion flutter_google_places_sdk/example/lib/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import 'package:flutter/material.dart';
const INITIAL_API_KEY = '';

/// Initial value that is used for the locale
const INITIAL_LOCALE = Locale('en');
const INITIAL_LOCALE = Locale('en');
Loading