Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
prefix-development: "chore"
include: "scope"
12 changes: 12 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR

on:
pull_request:
branches: [ main ]

jobs:
call-pr-workflow:
uses: FossifyOrg/.github/.github/workflows/pr.yml@main
with:
test_task: ":library:testDebugUnitTest"
run_detekt: false
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release

on:
workflow_dispatch:

jobs:
release:
name: Create release
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
fetch-depth: 0

- name: Get next version
id: version
uses: ietf-tools/semver-action@000ddb2ebacad350ff2a15382a344dc05ea4c0a4
with:
token: ${{ github.token }}
branch: ${{ github.event.repository.default_branch }}
noNewCommitBehavior: 'warn'
noVersionBumpBehavior: 'warn'
patchList: fix, bugfix, perf, refactor, test, tests, chore

- name: Create and push tag
if: ${{ steps.version.outputs.nextStrict }}
run: |
set -euo pipefail
git config user.name "fossifybot[bot]"
git config user.email "212866877+fossifybot[bot]@users.noreply.github.com"
new_version="${{ steps.version.outputs.nextStrict }}"
echo "Creating tag: $new_version"
git tag -a "$new_version" -m "$new_version"
git push origin "$new_version"
echo "Created and pushed tag: $new_version"
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# Android SMS/MMS Sending Library

![Promo](https://raw.githubusercontent.com/klinker41/android-smsmms/master/android-messaging.png)

These are the APIs that Google has so far left out of the Android ecosystem for easily sending any type of message without digging through source code and what not.

If you've got a better way to do things, send me a pull request! The library was created specifically for [Sliding Messaging Pro](https://play.google.com/store/apps/details?id=com.klinker.android.messaging_donate&hl=en) and [EvolveSMS](https://play.google.com/store/apps/details?id=com.klinker.android.evolve_sms&hl=en) and some things work the way they do specifically for those apps.

It's now used in [Pulse](https://play.google.com/store/apps/details?id=xyz.klinker.messenger) as well.

---

## Library Overview

Sending messages is very easy to do.
Expand Down Expand Up @@ -110,7 +98,7 @@ For full details on how to implement, please check out the sample application. I
To include in your gradle project:

```groovy
compile 'com.klinkerapps:android-smsmms:5.2.6'
compile 'org.fossify:mmslib:1.0.0'
```

---
Expand Down
Binary file removed android-messaging.png
Binary file not shown.
19 changes: 0 additions & 19 deletions build.gradle

This file was deleted.

21 changes: 21 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.11.1")
}
}

allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }
}
}

tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
6 changes: 6 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.caching=true
android.useAndroidX=true
android.nonTransitiveRClass=true
kotlin.code.style=official
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Tue Dec 30 08:21:22 CST 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
Loading
Loading