Skip to content

Uses Google Maps API best for in Low Energy Environment

Notifications You must be signed in to change notification settings

anujsaxenadev/GoogleMaps

Repository files navigation

GoogleMaps


Uses Google Maps API cache API Data best for in Low Energy Environment. This README provides a comprehensive guide to understanding and using Fidelio effectively.


Static Badge Static Badge Static Badge Static Badge

Static Badge Static Badge

Table of Contents

Features

1. Google Maps API

Uses Google Maps Javascript APIs to fetch Data:

  • Assets Dir Containing Html Code
  • Token Used is Temporary. (Use With Care)

2. Intercepting API Calls

API Intercepting Api Calls happening inside webview (check - WebViewInterceptor):

  • To alter response of web request.
  • Sending Cached Data in Case if data is already present.

3. Saving Resources

To make sure same resource is not fetched multiple times:

  • Saving resource in cacheDir (App Storage).
  • To make Sure each Source is Unique. A UniqueIdentifier is been created for each WebResourceRequest.
  • Saving the Mapping of saved resources in Room DB.

3. MultiModule Architecture

To make sure the scalablity of the application, multiple modules are created:

  • Every seperate functionality has been kept in seperate module.
  • A Custom Gradle plugin is applied to Application and library to make modules dependency handling easier.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Roadmap

Our future plans include:

  • Adding Cache Clearing Stratergy to make sure cache have some validity using Work Manager
  • Encrypting the Resources before storing to cacheDir. (ChaCha20)
  • Using NDK to store the Google Maps API Key.
  • Using Jetpack Compose Instead of XML Layouts. (Blocker - Stream Not able to close)
  • Using Some other Libraries like Coil for caching images.
  • To check Another approach of Intercepting API Calls in Android Webiew (Through Javascript)
  • Writing testing cases for all modules

About

Uses Google Maps API best for in Low Energy Environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages