7 |
💫 GeoTagImage (GTI) 📸🌍
8 |

9 |

10 |

11 |

12 |

13 |
14 | #### Read the documentation on [ashishdangi.medium.com](https://ashishdangi.medium.com/geotags-on-images-in-android-studio-334753c0489f)
15 |
16 |
17 |
18 |

19 |
20 |
21 |
22 | ```json lines
23 | Key Features :
24 |
25 | - Request camera & location permission callback by itself.
26 | - CameraX api support.
27 | - Show location and address.
28 | - Show Lat Longs.
29 | - Show author name.
30 | - Show app name.
31 | - Show Google map snapshot.
32 | - Set Image Quality.
33 | - Set Image Extension Type.
34 | - Set Custom Typeface.
35 | - Control the features of GTI.
36 | - Set text size.
37 | - Image File GeoTagging
38 | ```
39 |
40 | ### Gradle
41 |
42 | Add repository in your `settings.gradle`
43 |
44 | ```gradle
45 | dependencyResolutionManagement {
46 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
47 | repositories {
48 | maven { url "https://jitpack.io" }
49 | }
50 | }
51 | ```
52 | #### OR
53 | in your `settings.gradle.kts`
54 | ```gradle
55 | dependencyResolutionManagement {
56 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
57 | repositories {
58 | maven( url = "https://jitpack.io")
59 | }
60 | }
61 |
62 | ```
63 |
64 | Updated
65 |
66 | ```gradle
67 | pluginManagement {
68 | repositories {
69 | google {
70 | content {
71 | includeGroupByRegex("com\\.android.*")
72 | includeGroupByRegex("com\\.google.*")
73 | includeGroupByRegex("androidx.*")
74 | }
75 | }
76 | mavenCentral()
77 | gradlePluginPortal()
78 | maven( url = "https://jitpack.io")
79 | }
80 | }
81 | dependencyResolutionManagement {
82 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
83 | repositories {
84 | google()
85 | mavenCentral()
86 | maven( url = "https://jitpack.io")
87 | }
88 | }
89 | ```
90 | ### Add dependency :
91 |
92 | Add dependency in your `build.gradle` (module-level) file :
93 |
94 | ```groovy
95 | dependencies{
96 |
97 | implementation 'com.github.dangiashish:GeoTagImage:1.2.1'
98 | }
99 | ```
100 | #### OR
101 | Add dependency in your `build.gradle.kts` (module-level) file :
102 |
103 | ```groovy
104 | dependencies{
105 |
106 | implementation("com.github.dangiashish:GeoTagImage:1.2.1")
107 | }
108 | ```
109 |
110 | #### Add file provider in [AndroidManifest.xml](https://github.com/dangiashish/GeoTagImage/blob/afad2aca53837da4de3c37163911ed897bc3c540/app/src/main/AndroidManifest.xml#L34)
111 | ```groovy
112 |