Commit 495583b6 authored by Donald's avatar Donald

keys stuff

parent a61aae92
......@@ -10,7 +10,6 @@ import android.util.Log;
import android.view.View;
import android.widget.ScrollView;
import android.widget.TextView;
import android.widget.Toast;
import org.horaapps.leafpic.Views.ThemedActivity;
import org.horaapps.leafpic.util.CustomTabService;
......@@ -45,9 +44,8 @@ public class DonateActivity extends ThemedActivity {
setNavBarColor();
cts = new CustomTabService(DonateActivity.this, getPrimaryColor());
scr = (ScrollView)findViewById(org.horaapps.leafpic.R.id.donateAct_scrollView);
String base64EncodedPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsgBOXMloQet++IY1ims4/L88vgXHR+Ae0tf5QbNKyPyNRCA7EJ67OslkDBMQzHbu13Vds3mYcQI7hVKTvK8nfUhT5hWCtHJSYTW05FfYkL8usnTCPF606w7DHpsX5+58Pz/0MnOiZSiQ/6P5qfGAIytFriXIPDjc40gi14YWuqmRIeKKHjOM6inq8UEhWr3ngYD0rnbuUYMiRZEZUv+CErGk/tYAMO7wWgRZuM8fq6sBeRO9ZXam1EMDqAzhvM9fXt0DDv6byjybe1FSUUGkbd6Jcs0gGj/uzd40czqoE6AE8Oqjb4TAsDwQDula7xkUs5imdIHMMIwUDEfabCQ17wIDAQAB";
mHelper = new IabHelper(this, base64EncodedPublicKey);
mHelper = new IabHelper(this, SecretConstants.PLAY_STORE_KEY);
mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() {
public void onIabSetupFinished(IabResult result) {
if (!result.isSuccess()) {
......
package org.horaapps.leafpic;
/**
* Created by dnld on 31/07/16.
*/
public class SecretConstants {
//NOTE: you can get a free token at https://www.mapbox.com
public static String MAP_BOX_TOKEN = "pk.eyJ1IjoiZG5sZCIsImEiOiJjaXF2NmwzMHUwMDd2aHNtMzlscHVseTVnIn0.oCeek-FdSfAU4yoELHzJYA";
}
package org.horaapps.leafpic;
/**
* Created by dnld on 31/07/16.
*/
public class SecretConstantsExample {
//NOTE: if you want to build this app rename this file as SecretConstants and get your keys.
//you can get a free token at https://www.mapbox.com
public static String MAP_BOX_TOKEN = "pk.################################################";
//needed for iap
public static String PLAY_STORE_KEY = "########################################################################";
}
......@@ -18,7 +18,6 @@ import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.drew.lang.GeoLocation;
import org.horaapps.leafpic.Data.Media;
import org.horaapps.leafpic.SecretConstants;
import org.horaapps.leafpic.Activities.SettingsActivity;
import org.horaapps.leafpic.Views.ThemedActivity;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment