Skip to content

Commit 268ea4a

Browse files
committed
Updated README.md
Removed publishable key from code.
1 parent e8d3caa commit 268ea4a

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ This method returns an estimate of the string representation of the card type.
9494

9595
1. Clone the repository.
9696
2. Import the project either using Android Studio or Eclipse
97-
3. Build and run the project on your device or emulator
97+
3. Add your publishable key to your AndroidManifest.xml file
98+
4. Build and run the project on your device or emulator

example/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!-- metadata for paystack -->
1515
<meta-data
1616
android:name="co.paystack.android.PublishableKey"
17-
android:value="MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANIsL+RHqfkBiKGn/D1y1QnNrMkKzxWP2wkeSokw2OJrCI+d6YGJPrHHx+nmb/Qn885/R01Gw6d7M824qofmCvkCAwEAAQ=="/>
17+
android:value="your publishable key"/>
1818

1919
<activity
2020
android:name=".MainActivity"

example/src/main/java/co/paystack/example/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
public class MainActivity extends AppCompatActivity {
2020

21-
//private static final String PUBLISHABLE_KEY = "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANIsL+RHqfkBiKGn/D1y1QnNrMkKzxWP2wkeSokw2OJrCI+d6YGJPrHHx+nmb/Qn885/R01Gw6d7M824qofmCvkCAwEAAQ==";
21+
//private static final String PUBLISHABLE_KEY = "your publishable key";
2222

2323

2424
EditText mEditCardNum;

0 commit comments

Comments
 (0)