Skip to content

Commit

Permalink
Merge pull request flutter-mapbox-gl#5 from tobrun/tvn-gitignore-deve…
Browse files Browse the repository at this point in the history
…lopment-token

Gitignore development token
  • Loading branch information
tobrun authored Feb 2, 2019
2 parents 3e4fc3d + 7267968 commit 9a84da9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ android/.classpath
android/.project
.packages
.vscode/
.idea/

2 changes: 2 additions & 0 deletions example/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
/build
/captures
GeneratedPluginRegistrant.java
app/src/main/res/values/developer-config.xml

2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
android:name="io.flutter.app.FlutterApplication"
android:label="mapbox_gl_example"
android:icon="@mipmap/ic_launcher">
<meta-data android:name="com.mapbox.token" android:value="PLACE_MAPBOX_TOKEN_HERE" />
<meta-data android:name="com.mapbox.token" android:value="@string/mapbox_access_token" />
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
Expand Down
4 changes: 4 additions & 0 deletions example/android/app/src/main/res/values/developer-config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_access_token">ADD_MAPBOX_ACCESS_TOKEN_HERE</string>
</resources>

0 comments on commit 9a84da9

Please sign in to comment.