mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-29 03:32:50 -04:00
Use README as index page, add share page with explanation
This commit is contained in:
@@ -130,6 +130,6 @@
|
||||
|
||||
<string name="intent_import_card_from_url">Import loyalty card</string>
|
||||
<string name="intent_import_card_from_url_share_text">I want to share a loyalty card with you</string>
|
||||
<string name="intent_import_card_from_url_host" translatable="false">github.com</string>
|
||||
<string name="intent_import_card_from_url_path_prefix" translatable="false">/brarcher/loyalty-card-locker</string>
|
||||
<string name="intent_import_card_from_url_host" translatable="false">brarcher.github.io</string>
|
||||
<string name="intent_import_card_from_url_path_prefix" translatable="false">/loyalty-card-locker/share</string>
|
||||
</resources>
|
||||
|
||||
@@ -611,7 +611,7 @@ public class LoyaltyCardViewActivityTest
|
||||
@Test
|
||||
public void importCard()
|
||||
{
|
||||
Uri importUri = Uri.parse("https://github.com/brarcher/loyalty-card-locker?store=Example%20Store¬e=&cardid=123456&barcodetype=AZTEC&headercolor=-416706&headertextcolor=-1");
|
||||
Uri importUri = Uri.parse("https://brarcher.github.io/loyalty-card-locker/share?store=Example%20Store¬e=&cardid=123456&barcodetype=AZTEC&headercolor=-416706&headertextcolor=-1");
|
||||
|
||||
Intent intent = new Intent();
|
||||
intent.setData(importUri);
|
||||
|
||||
1
docs/index.md
Symbolic link
1
docs/index.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../README.md
|
||||
10
docs/share.md
Normal file
10
docs/share.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Shared Loyalty Card
|
||||
|
||||
Someone wants to share a loyalty card with you. To import this loyalty card, you will first need to install the Loyalty Card Locker app. It is free, Open Source and contains no ads.
|
||||
|
||||
<a href="https://f-droid.org/repository/browse/?fdid=protect.card_locker" target="_blank">
|
||||
<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="90"/></a>
|
||||
<a href="https://play.google.com/store/apps/details?id=protect.card_locker" target="_blank">
|
||||
<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="90"/></a>
|
||||
|
||||
After installing the app, just click the link you were given again and choose "Import loyalty card".
|
||||
Reference in New Issue
Block a user