Skip to content

Commit

Permalink
Merge pull request #33 from tomfong/ios-dev
Browse files Browse the repository at this point in the history
Ios dev
  • Loading branch information
tomfong authored Apr 27, 2022
2 parents 0e4f307 + f064fed commit ade1e1c
Show file tree
Hide file tree
Showing 117 changed files with 20,168 additions and 595 deletions.
91 changes: 42 additions & 49 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,54 +7,48 @@
<p align="center">
<a href="#about">About</a>
• <a href="#features">Features</a>
• <a href="#screenshots">Screenshots</a>
• <a href="#download">Download</a>
• <a href="#support-developer">Support Developer</a>
• <a href="#contribute">Contribute</a>
</p>
<p align="center">
<a href="#contribute">Contribute</a>
• <a href="#contributors">Contributors</a>
• <a href="#changelogs">Changelogs</a>
<a href="#changelogs">Changelogs</a>
• <a href="#framework">Framework</a>
• <a href="#privacy-policy">Privacy Policy</a>
• <a href="#license">License</a>
</p>

## About

Simple QR (簡易QR) is an open-source app, providing a simple way for you to scan, create and manage QR codes. No backend service connected. No data collected from you. No ads.
Simple QR (簡易QR) is an open-source app, providing the simplest way to scan, create and manage QR codes. No backend service connected. No data collected from you. No ads.

Welcome to download the app from App Store or Google Play.

| Android | iOS |
|:-:|:-:|
| [<img src="badges/google-play-badge.png" height="50">](https://play.google.com/store/apps/details?id=com.tomfong.simpleqr) | [<img src="badges/appstore-badge.png" height="50">](https://apps.apple.com/us/app/simple-qr-by-tom-fong/id1621121553) |

## Features

- Fruitful post actions can be done after scanning a QR code,
- Search - use scanned content as keyword to execute Google search
- Copy - one click to copy scanned content
- Base64 - execute Base64 encode and decode
- Share - share the original QR code as an image in many platforms
- Bookmark - save the record by bookmarking it

For some specific types of QR code, more post actions are provided,
- URL - one click to open browser and browse the webpage
- Contact (vCard) - in-app contact adding
- Phone Number (tel: prefix) - in-app contact adding and phone calling
- Message (smsto: prefix) - in-app contact adding and message preparing
- Email (mailto: prefix) - in-app email preparing

- Flashlight can be enabled during scanning
- A simple UI is provided to create QR codes by inputting text
- Previous scanning records and bookmarks can be viewed, managed and backed up
- Settings can be personalized to fit users' requirements, e.g. language, color theme

## Screenshots

<p align="start">
<img alt="scan" src="./screenshots/scan.png" width="125px">
<img alt="result" src="./screenshots/result.png" width="125px">
<img alt="create" src="./screenshots/create.png" width="125px">
<img alt="image" src="./screenshots/image.png" width="125px">
<img alt="history" src="./screenshots/history.png" width="125px">
<img alt="setting" src="./screenshots/setting.png" width="125px">
</p>
1. Scan QR Code, 1D Barcode, Aztec Code, Data Matrix Code and PDF417 Barcode using camera.

2. Scan QR Code using image file.

3. Provide you post actions after scanning:
"Search" - use decoded content as keyword to execute web search
"Copy" - click to copy decoded content
"Base64" - execute Base64 encode and decode
"Share" - share the original QR code image
"Bookmark" - save the scanning record and bookmark it

4. Provide you special post actions, if the barcode content is URL, vCard Contact, Phone Number, Message or Email.

5. Create QR code from templates, including Free Text, URL, vCard Contact, Phone Number, Message, Email and Wi-Fi.

6. View, manage and back up scanning records and bookmarks that stored in the local offline storage.

7. Enable torch/flashlight during scanning.

8. Personalize the app and settings, e.g. language and color theme.

## Languages Supported

Expand All @@ -64,14 +58,6 @@ Simple QR (簡易QR) is an open-source app, providing a simple way for you to sc

You are welcomed to help us do translations in more languages! (see <a href="#how-to-help-to-do-translation">section</a>)

## Download

Please download the app from Google Play.

<a href="https://play.google.com/store/apps/details?id=com.tomfong.simpleqr">
<img src="https://cdn.rawgit.com/steverichey/google-play-badge-svg/master/img/en_get.svg" width="30%">
</a>

## Support Developer

To support this project, you can buy me a milk tea by making a donation :) (<a href="mailto:tomfong.dev@gmail.com">Email me</a> for details)
Expand All @@ -85,10 +71,10 @@ Thanks for your support!
- Open issue for bug reports
- Email me for any ideas regarding Simple QR or Project Simple

### Build the project
### Build the project (Android)

- Run ```npm install``` to install all dependencies
- Run ```npm run build```
- Run ```npm run build:an```
- In ```android/capacitor-cordova-android-plugins/src/main/AndroidManifest.xml```, add ```android:exported="true"``` inside receiver tag.
- In ```android/capacitor-cordova-android-plugins/src/main/java/nl/xservices/plugins/SocialSharing.java```, change line 274 to

Expand All @@ -114,7 +100,13 @@ Thanks for your support!

## Changelogs

### 2.2.0
### 2.3.0

- Release iOS version
- UI updated
- Improved performance and fixed known issues

#### 2.2.0

- New "Backup and Restore" feature
- Minor UI update
Expand Down Expand Up @@ -196,9 +188,10 @@ Thanks for your support!
@angular/cli : 13.3.3
@ionic/angular-toolkit : 6.1.0

Capacitor CLI : 3.4.3
@capacitor/android : 3.4.3
@capacitor/core : 3.4.3
Capacitor CLI : 3.4.3
@capacitor/android : 3.4.3
@capacitor/core : 3.5.0
@capacitor/ios : 3.5.0

Cordova CLI : 10.0.0

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "com.tomfong.simpleqr"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20200
versionName "2.2.0"
versionCode 20300
versionName "2.3.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
9 changes: 0 additions & 9 deletions android/app/src/main/res/xml/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,10 @@
<param name="android-package" value="nl.xservices.plugins.SocialSharing"/>
</feature>

<feature name="NativeSettings">
<param name="android-package" value="com.phonegap.plugins.nativesettings.NativeSettings"/>
</feature>

<feature name="AppVersion">
<param name="android-package" value="uk.co.whiteoctober.cordova.AppVersion"/>
</feature>

<feature name="File">
<param name="android-package" value="org.apache.cordova.file.FileUtils"/>
<param name="onload" value="true"/>
</feature>

<feature name="StatusBar">
<param name="android-package" value="org.apache.cordova.statusbar.StatusBar"/>
<param name="onload" value="true"/>
Expand Down
Binary file added badges/appstore-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added badges/google-play-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
App/build
App/Pods
App/Podfile.lock
App/App/public
DerivedData
xcuserdata

# Cordova plugins for Capacitor
capacitor-cordova-ios-plugins
Loading

0 comments on commit ade1e1c

Please sign in to comment.