Skip to content

Commit 598249c

Browse files
authored
change license to GNU GPLv3
0 parents  commit 598249c

Some content is hidden

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

62 files changed

+2714
-0
lines changed

Diff for: .gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

Diff for: .github/FUNDING.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: ['https://www.paypal.me/Pishang'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

Diff for: .github/ISSUE_TEMPLATE/bug_report.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Click on '....'
14+
3. Scroll down to '....'
15+
4. See error
16+
17+
**Expected behavior**
18+
A clear and concise description of what you expected to happen.
19+
20+
**Screenshots**
21+
If applicable, add screenshots to help explain your problem.
22+
23+
**Desktop (please complete the following information):**
24+
- OS: [e.g. Windows]
25+
- Version [e.g. 10, 8, 7 ,XP, Vista]
26+
27+
**Smartphone (please complete the following information):**
28+
- Device: [e.g. Samsung Galaxy Note 8]
29+
- OS: [e.g. Android Oreo 8.0]
30+
- App Version [e.g. 1.0]
31+
32+
**Additional context**
33+
Add any other context about the problem here.

Diff for: .github/ISSUE_TEMPLATE/feature_request.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

Diff for: ClipSyncAndroid/.gitignore

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Built application files
2+
*.apk
3+
*.ap_
4+
5+
# Files for the ART/Dalvik VM
6+
*.dex
7+
8+
# Java class files
9+
*.class
10+
11+
# Generated files
12+
bin/
13+
gen/
14+
out/
15+
16+
# Gradle files
17+
.gradle/
18+
build/
19+
20+
# Local configuration file (sdk path, etc)
21+
local.properties
22+
23+
# Proguard folder generated by Eclipse
24+
proguard/
25+
26+
# Log Files
27+
*.log
28+
29+
# Android Studio Navigation editor temp files
30+
.navigation/
31+
32+
# Android Studio captures folder
33+
captures/
34+
35+
# IntelliJ
36+
*.iml
37+
.idea/workspace.xml
38+
.idea/tasks.xml
39+
.idea/gradle.xml
40+
.idea/assetWizardSettings.xml
41+
.idea/dictionaries
42+
.idea/libraries
43+
.idea/caches
44+
.idea/
45+
46+
# Keystore files
47+
# Uncomment the following line if you do not want to check your keystore files in.
48+
#*.jks
49+
50+
# External native build folder generated in Android Studio 2.2 and later
51+
.externalNativeBuild
52+
53+
# Google Services (e.g. APIs or Firebase)
54+
google-services.json
55+
56+
# Freeline
57+
freeline.py
58+
freeline/
59+
freeline_project_description.json
60+
61+
# fastlane
62+
fastlane/report.xml
63+
fastlane/Preview.html
64+
fastlane/screenshots
65+
fastlane/test_output
66+
fastlane/readme.md

Diff for: ClipSyncAndroid/app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

Diff for: ClipSyncAndroid/app/build.gradle

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
splits {
5+
abi {
6+
enable true
7+
reset()
8+
// include 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'mips', 'mips64', 'arm64-v8a'
9+
// include 'armeabi-v7a'
10+
universalApk false
11+
}
12+
}
13+
compileSdkVersion 30
14+
defaultConfig {
15+
applicationId "com.pishangujeniya.clipsync"
16+
minSdkVersion 23
17+
targetSdkVersion 30
18+
versionCode 20
19+
versionName "2.0"
20+
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
21+
multiDexEnabled true
22+
}
23+
buildTypes {
24+
release {
25+
minifyEnabled false
26+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
27+
}
28+
}
29+
30+
packagingOptions {
31+
exclude 'lib/getLibs.ps1'
32+
exclude 'lib/getLibs.sh'
33+
exclude 'lib/gson-2.8.2.jar'
34+
}
35+
buildToolsVersion '29.0.3'
36+
}
37+
repositories {
38+
mavenCentral()
39+
google()
40+
jcenter()
41+
}
42+
43+
dependencies {
44+
implementation fileTree(include: ['*.jar'], dir: 'libs')
45+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
46+
implementation 'com.google.android.material:material:1.2.1'
47+
implementation 'androidx.cardview:cardview:1.0.0'
48+
//Glide
49+
implementation 'com.github.bumptech.glide:glide:4.11.0'
50+
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
51+
52+
//Permissions
53+
implementation 'pub.devrel:easypermissions:3.0.0'
54+
// NETWORKING
55+
implementation 'com.android.volley:volley:1.1.1'
56+
testImplementation 'junit:junit:4.12'
57+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
58+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
59+
// SignalR Library
60+
// implementation files('libs/gson-2.2.2.jar')
61+
implementation 'com.google.code.gson:gson:2.8.6'
62+
implementation files('libs/signalr-client-sdk-android.jar')
63+
implementation files('libs/signalr-client-sdk.jar')
64+
}
56.5 KB
Binary file not shown.

Diff for: ClipSyncAndroid/app/libs/signalr-client-sdk.jar

321 KB
Binary file not shown.

Diff for: ClipSyncAndroid/app/proguard-rules.pro

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile

Diff for: ClipSyncAndroid/app/release/output-metadata.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": 2,
3+
"artifactType": {
4+
"type": "APK",
5+
"kind": "Directory"
6+
},
7+
"applicationId": "com.pishangujeniya.clipsync",
8+
"variantName": "processReleaseResources",
9+
"elements": [
10+
{
11+
"type": "SINGLE",
12+
"filters": [],
13+
"versionCode": 20,
14+
"versionName": "2.0",
15+
"outputFile": "app-release.apk"
16+
}
17+
]
18+
}

Diff for: ClipSyncAndroid/app/release/output.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"outputType":{"type":"APK"},"apkData":{"type":"FULL_SPLIT","splits":[{"filterType":"ABI","value":"armeabi-v7a"}],"versionCode":16,"versionName":"1.6","enabled":true,"filterName":"armeabi-v7a","outputFile":"app-armeabi-v7a-release.apk","fullName":"armeabi-v7aRelease","baseName":"armeabi-v7a-release"},"path":"app-armeabi-v7a-release.apk","properties":{}}]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package com.pishangujeniya.clipsync;
2+
3+
import android.content.Context;
4+
import androidx.test.platform.app.InstrumentationRegistry;
5+
import androidx.test.ext.junit.runners.AndroidJUnit4;
6+
7+
import org.junit.Test;
8+
import org.junit.runner.RunWith;
9+
10+
import static org.junit.Assert.assertEquals;
11+
12+
/**
13+
* Instrumented test, which will execute on an Android device.
14+
*
15+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
16+
*/
17+
@RunWith(AndroidJUnit4.class)
18+
public class ExampleInstrumentedTest {
19+
@Test
20+
public void useAppContext() {
21+
// Context of the app under test.
22+
Context appContext = InstrumentationRegistry.getTargetContext();
23+
24+
assertEquals("com.clipsync.clipsync", appContext.getPackageName());
25+
}
26+
}

Diff for: ClipSyncAndroid/app/src/main/AndroidManifest.xml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="com.pishangujeniya.clipsync">
5+
6+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
7+
<uses-permission android:name="android.permission.INTERNET" />
8+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
9+
10+
<permission
11+
android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
12+
android:protectionLevel="signature" />
13+
14+
<application
15+
android:allowBackup="false"
16+
android:icon="@drawable/clip_sync_logo_2"
17+
android:label="@string/app_name"
18+
android:roundIcon="@drawable/clip_sync_logo_2"
19+
android:supportsRtl="true"
20+
android:theme="@style/AppTheme"
21+
android:usesCleartextTraffic="true"
22+
tools:replace="android:allowBackup">
23+
24+
<service
25+
android:name=".service.ClipBoardMonitor"
26+
android:exported="false"
27+
android:label="Clipboard Monitor" />
28+
<service
29+
android:name=".service.SignalRService"
30+
android:exported="false"
31+
android:label="ClipSync SignalR"
32+
33+
/>
34+
35+
<activity android:name=".ControlsActivity">
36+
<intent-filter>
37+
<action android:name="android.intent.action.MAIN" />
38+
<!-- <category android:name="android.intent.category.DEFAULT" /> -->
39+
<category android:name="android.intent.category.LAUNCHER" />
40+
</intent-filter>
41+
</activity>
42+
</application>
43+
44+
45+
</manifest>

0 commit comments

Comments
 (0)