Skip to content

Commit 850e2b9

Browse files
committed
angular version
1 parent e8a52ee commit 850e2b9

File tree

428 files changed

+27057
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

428 files changed

+27057
-0
lines changed

Govt-Billing-Angular/.gitignore

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Specifies intentionally untracked files to ignore when using Git
2+
# http://git-scm.com/docs/gitignore
3+
4+
*~
5+
*.sw[mnpcod]
6+
.tmp
7+
*.tmp
8+
*.tmp.*
9+
*.sublime-project
10+
*.sublime-workspace
11+
.DS_Store
12+
Thumbs.db
13+
UserInterfaceState.xcuserstate
14+
$RECYCLE.BIN/
15+
16+
*.log
17+
log.txt
18+
npm-debug.log*
19+
20+
/.idea
21+
/.ionic
22+
/.sass-cache
23+
/.sourcemaps
24+
/.versions
25+
/.vscode
26+
/coverage
27+
/dist
28+
node_modules
29+
/platforms
30+
/plugins
31+
/www
Binary file not shown.
Binary file not shown.
File renamed without changes.
16.5 MB
Binary file not shown.

Govt-Billing-Angular/README.md

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Govt Billing_v5 using Angular
2+
Ionic v5 for Govt Billing app using Angular framework
3+
4+
### Follow the following steps to run the Invoice Suite Billing App in your system:
5+
6+
- **Install [Node & npm](https://ionicframework.com/docs/intro/environment#node-npm) on your system <br/>**
7+
Almost all tooling for modern JavaScript projects is based in [Node.js](https://ionicframework.com/docs/reference/glossary#node). The [download page](https://nodejs.org/en/download/) has prebuilt installation packages for all platforms. We recommend selecting the LTS version to ensure best compatibility.
8+
Node is bundled with [npm](https://ionicframework.com/docs/reference/glossary#npm), the package manager for JavaScript.
9+
To verify the installation, open a new terminal window and run:
10+
11+
```
12+
$ node --version
13+
$ npm --version
14+
```
15+
- **Install [Git](https://ionicframework.com/docs/intro/environment#git) <br/>**
16+
Although not required, the version control system [Git](https://ionicframework.com/docs/reference/glossary#git) is highly recommended.
17+
Git is often accompanied by a Git Host, such as [GitHub](https://github.com/), in which case additional setup is required. Follow the tutorial from the Git Host's documentation to set up Git:
18+
- GitHub: [Set up Git](https://help.github.com/en/articles/set-up-git)
19+
- GitLab: [Installing Git](https://docs.gitlab.com/ee/topics/git/how_to_install_git)
20+
- Bitbucket: [Install Git](https://www.atlassian.com/git/tutorials/install-git)
21+
22+
Otherwise, follow the [official installation instructions](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git). The command-line utility can be downloaded from the [download page](https://git-scm.com/downloads).
23+
To verify the installation, open a new terminal window and run:
24+
25+
```
26+
$ git --version
27+
```
28+
29+
- **Install the [Ionic CLI](https://ionicframework.com/docs/intro/cli#install-the-ionic-cli) <br/>**
30+
Before proceeding, make sure your computer has [Node.js](https://ionicframework.com/docs/reference/glossary#node) installed. See [these instructions](https://ionicframework.com/docs/intro/environment) to set up an environment for Ionic.
31+
Install the Ionic CLI with npm:
32+
33+
```
34+
$ npm install -g @ionic/cli
35+
```
36+
- **Install [Ionic Tooling](https://ionicframework.com/docs/angular/your-first-app#install-ionic-tooling) <br/>**
37+
Run the following in the command line terminal to install the Ionic CLI (`ionic`), `native-run`, used to run native binaries on devices and simulators/emulators, and `cordova-res`, used to generate native app icons and splash screens:
38+
> To open a terminal in Visual Studio Code, go to Terminal -> New Terminal.
39+
40+
```
41+
$ npm install -g @ionic/cli native-run cordova-res
42+
```
43+
- **Go to the desired folder where you want to work on this app and clone this repository by : <br/>**
44+
```
45+
git clone https URL of the repo
46+
```
47+
> Please setup your github account in the terminal to clone this private repository
48+
49+
- **Run the following command to run the application in your browser: <br/>**
50+
```
51+
$ ionic serve
52+
```
53+
- **To build an Android App: <br/>**
54+
Open the project folder in Terminal and run the following commands:
55+
```
56+
$ ionic build
57+
```
58+
If an folder named "android" doesn't exist already then run the following command else skip to next: <br/>
59+
```
60+
$ ionic cap add android
61+
``` <br/>
62+
android folder at the root of the project is created. It is an entirely standalone native projects that should be considered part of your Ionic app (i.e., check them into source control, edit them using their native tooling, etc.).
63+
Every time you perform a build (e.g. `ionic build`) that updates your web directory (default: `www`), you'll need to copy those changes into your native projects:
64+
65+
```
66+
$ ionic cap copy
67+
```
68+
>Note: After making updates to the native portion of the code (such as adding a new plugin), use the `sync` command:
69+
```
70+
$ ionic cap sync
71+
```
72+
- **[Android Deployment](https://ionicframework.com/docs/angular/your-first-app/6-deploying-mobile#android-deployment) <br/>**
73+
Capacitor Android apps are configured and managed through Android Studio. Before running this app on an Android device, there's a couple of steps to complete.
74+
First, run the Capacitor `open` command, which opens the native Android project in Android Studio:
75+
76+
```
77+
$ ionic cap open android
78+
```
79+
Within Android Studio, click the "Run" button, select the attached Android device, then click OK to build, install, and launch the app on your device.
80+
81+
- **iOS Deployment: <br/>**
82+
Follow this link : [iOS Deployment for Ionic Apps](https://ionicframework.com/docs/angular/your-first-app/6-deploying-mobile#ios-deployment)
83+
84+
- **Points to be noted: <br/>**
85+
The socialcalc package used here is pulled from my github repository, not from npm as the module required for the project is customized so I have fetched this module from my github repo
86+
File renamed without changes.

Govt-Billing-Angular/android/.idea/codeStyles/Project.xml

+116
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Govt-Billing-Angular/android/.idea/misc.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion rootProject.ext.compileSdkVersion
5+
defaultConfig {
6+
applicationId "com.mridulchaba.com"
7+
minSdkVersion rootProject.ext.minSdkVersion
8+
targetSdkVersion rootProject.ext.targetSdkVersion
9+
versionCode 1
10+
versionName "1.0"
11+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
12+
}
13+
buildTypes {
14+
release {
15+
minifyEnabled false
16+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
17+
}
18+
}
19+
}
20+
21+
repositories {
22+
flatDir{
23+
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
24+
}
25+
}
26+
27+
dependencies {
28+
implementation fileTree(include: ['*.jar'], dir: 'libs')
29+
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
30+
implementation project(':capacitor-android')
31+
testImplementation "junit:junit:$junitVersion"
32+
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
33+
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
34+
implementation project(':capacitor-cordova-android-plugins')
35+
}
36+
37+
apply from: 'capacitor.build.gradle'
38+
39+
try {
40+
def servicesJSON = file('google-services.json')
41+
if (servicesJSON.text) {
42+
apply plugin: 'com.google.gms.google-services'
43+
}
44+
} catch(Exception e) {
45+
logger.warn("google-services.json not found, google-services plugin not applied. Push Notifications won't work")
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
2+
3+
android {
4+
compileOptions {
5+
sourceCompatibility JavaVersion.VERSION_1_8
6+
targetCompatibility JavaVersion.VERSION_1_8
7+
}
8+
}
9+
10+
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
11+
dependencies {
12+
13+
implementation "com.android.support:support-v4:27.+"
14+
implementation "com.android.support:support-v4:27.+"
15+
implementation "com.android.support:support-v4:27.+"
16+
implementation "com.android.support:support-v4:27.+"
17+
}
18+
19+
20+
if (hasProperty('postBuildExtras')) {
21+
postBuildExtras()
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.mridulchaba.com">
4+
5+
<application
6+
android:allowBackup="true"
7+
android:icon="@mipmap/ic_launcher"
8+
android:label="@string/app_name"
9+
android:roundIcon="@mipmap/ic_launcher_round"
10+
android:supportsRtl="true"
11+
android:theme="@style/AppTheme">
12+
13+
<activity
14+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
15+
android:name="com.mridulchaba.com.MainActivity"
16+
android:label="@string/title_activity_main"
17+
android:theme="@style/AppTheme.NoActionBarLaunch"
18+
android:launchMode="singleTask">
19+
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN" />
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
25+
<intent-filter>
26+
<action android:name="android.intent.action.VIEW" />
27+
<category android:name="android.intent.category.DEFAULT" />
28+
<category android:name="android.intent.category.BROWSABLE" />
29+
<data android:scheme="@string/custom_url_scheme" />
30+
</intent-filter>
31+
32+
</activity>
33+
34+
<provider
35+
android:name="androidx.core.content.FileProvider"
36+
android:authorities="${applicationId}.fileprovider"
37+
android:exported="false"
38+
android:grantUriPermissions="true">
39+
<meta-data
40+
android:name="android.support.FILE_PROVIDER_PATHS"
41+
android:resource="@xml/file_paths"></meta-data>
42+
</provider>
43+
</application>
44+
45+
<!-- Permissions -->
46+
47+
<uses-permission android:name="android.permission.INTERNET" />
48+
<!-- Camera, Photos, input file -->
49+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
50+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
51+
<!-- Geolocation API -->
52+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
53+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
54+
<uses-feature android:name="android.hardware.location.gps" />
55+
<!-- Network API -->
56+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
57+
<!-- Navigator.getUserMedia -->
58+
<!-- Video -->
59+
<uses-permission android:name="android.permission.CAMERA" />
60+
<!-- Audio -->
61+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
62+
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
63+
</manifest>

0 commit comments

Comments
 (0)