Skip to content
Open

Vv #1

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1071 commits
Select commit Hold shift + click to select a range
4623c5c
fix(ui/better_location): open popup button
rhunk Jun 4, 2024
d901cba
feat(better_location): edit coordinates
rhunk Jun 4, 2024
ae15ad7
feat(notifications): smart replies
rhunk Jun 5, 2024
e45e969
feat(app/ui): tasks root media preview
rhunk Jun 5, 2024
47a549e
feat(experimental): context menu fix
rhunk Jun 5, 2024
a633f91
fix(mapper): streaks expiration
rhunk Jun 5, 2024
0688c27
fix(better_location): suspend location updates
rhunk Jun 5, 2024
23de1aa
refactor: log hook errors
rhunk Jun 5, 2024
1747bc3
fix(ui/tasks): crash
rhunk Jun 7, 2024
7f0f202
fix: composer hooks
rhunk Jun 8, 2024
c8819cf
feat: disable telecom framework
rhunk Jun 8, 2024
5fbd766
fix(app): actions crash
rhunk Jun 8, 2024
97bce20
fix(story_logger): ignore friends of friends stories
rhunk Jun 8, 2024
c72cc1d
feat(ui_tweaks): remove post to story buttons
rhunk Jun 8, 2024
31ae06e
refactor: composer loader
rhunk Jun 8, 2024
bcbf54b
feat(ui/chat_action_menu): show chat edit history
rhunk Jun 9, 2024
a6d3c39
feat(core/ff_message_preview): avenir next font
rhunk Jun 9, 2024
f29e3f3
refactor(ff_menu): remove toast
rhunk Jun 9, 2024
ce2ae6f
feat(core): compose friend feed menu
rhunk Jun 10, 2024
5ebd48c
feat: rounded compose dialogs
rhunk Jun 10, 2024
a355ea9
feat(core): compose conversation preview
rhunk Jun 10, 2024
006f9f8
refactor(native): remap sections
rhunk Jun 10, 2024
d09d4ee
fix(core): accessibility strings
rhunk Jun 11, 2024
844094a
feat(core): better transcript
rhunk Jun 11, 2024
3f02023
fix(ui/setup): state concurrent
rhunk Jun 12, 2024
248100b
feat(core): mark as seen button
rhunk Jun 12, 2024
6c87e72
fix(bridge): auto bridge restart on SnapEnhance update
rhunk Jun 12, 2024
e7a02d7
fix(mixer_stories): crash
rhunk Jun 12, 2024
a2f56d1
fix(config): experimental
rhunk Jun 12, 2024
552c1e4
fix(native): remap executable
rhunk Jun 12, 2024
029850a
chore: translations (#1094)
weblate Jun 19, 2024
5d2277d
fix(core): inapp overlay
rhunk Jun 21, 2024
4beb63e
feat(core): auto close friend feed menu
rhunk Jun 21, 2024
95eb350
feat(scripting): protobuf bindings
rhunk Jun 21, 2024
4b93ec7
feat(core): enhanced transcript in notifications
rhunk Jun 27, 2024
d8e98d5
fix(core/xposed_loader): prevent loading in sub processes
rhunk Jun 27, 2024
86404c9
fix(common/config): concurrent load
rhunk Jun 27, 2024
f5ce6e9
fix(app/features_section): search delay
rhunk Jun 27, 2024
dca811d
feat(scripting): custom module execution sides
rhunk Jun 27, 2024
bf49bcb
feat(core/mixer_stories): remove suggested stories
rhunk Jun 28, 2024
d31591f
refactor: feature load system
rhunk Jun 30, 2024
2cb3db0
feat: custom theming
rhunk Jul 2, 2024
f9974b0
feat: catalog
rhunk Jul 4, 2024
bc4498e
fix(build/composer): npx command (#1159)
w451 Jul 4, 2024
09e3e83
chore(readme): ban notice (#1161)
FirePlank Jul 5, 2024
8d17d55
feat: security features
rhunk Jul 6, 2024
fd619ec
fix: library abi
rhunk Jul 6, 2024
05359f2
fix: load after setup screen
rhunk Jul 6, 2024
ed42ed4
chore(ci): improvments (#1156)
Jul 12, 2024
8c046e9
fix(common/config): restart on rule changes
rhunk Jul 16, 2024
fb3d7af
Merge branch 'refs/heads/dev' into refactor
rhunk Jul 17, 2024
12ad30f
Merge branch 'refs/heads/refactor_ex' into refactor
rhunk Jul 17, 2024
3b13aae
fix: temporary removal of sif screen
rhunk Jul 17, 2024
23d74bd
fix(ui/manage_repos): card text ellipsis & copy to clipboard
rhunk Jul 17, 2024
f007d0d
fix: config state listener restart
rhunk Jul 18, 2024
de0342f
chore: readme (#1168)
ptraced Jul 20, 2024
b2bc23d
feat(ui/sif): download indicator
rhunk Jul 20, 2024
b37d663
chore(build): disable profile installer for development environment
rhunk Jul 22, 2024
bb00569
fix(ui/settings_gear): simple Snapchat support
rhunk Jul 22, 2024
dbafd6d
fix(friend_mutation_observer): birthday month offset
rhunk Jul 23, 2024
d5db0ea
fix(e2ee): key exchange
rhunk Jul 23, 2024
ea284bc
fix(core/send_override): snap duration
rhunk Jul 23, 2024
115b5ce
feat(core): voice note auto play
rhunk Jul 24, 2024
17ddfa5
fix(core/account_switcher): backup fidelius databases
rhunk Jul 24, 2024
28d1ea2
feat: rust native
rhunk Jul 25, 2024
790e7ba
fix(native): ndk version
rhunk Jul 26, 2024
b18c969
chore(build/native): release profile
rhunk Jul 27, 2024
d3f9d03
feat(native): custom font hook
rhunk Jul 27, 2024
8c4e32d
feat(native): pre init
rhunk Jul 28, 2024
bc9af41
fix(native): custom font hook crash
rhunk Jul 28, 2024
bcec1f5
fix(native): composer loader hook
rhunk Jul 28, 2024
34090f3
fix(native/composer_hooks): load when composer starts
rhunk Jul 29, 2024
39525c9
fix(core): voice note auto play
rhunk Jul 30, 2024
b258759
fix(app): update checker crash on release builds
rhunk Aug 10, 2024
95befdf
fix(ci): rust android targets (#1188)
Aug 11, 2024
f97dda6
chore(ci): update java (#1189)
Aug 11, 2024
43f1a30
fix(build): clean natives
rhunk Aug 11, 2024
0ac142f
feat(core): sif status
rhunk Aug 11, 2024
0aa429c
refactor(app/e2ee): failure log
rhunk Aug 11, 2024
ae1aee3
fix(app): synchronized logs
rhunk Aug 11, 2024
07f3835
fix(core/bridge): connection retry
rhunk Aug 11, 2024
76a2df6
fix(bridge): broadcast log crash
rhunk Aug 12, 2024
986dbad
fix(core/inapp_overlay): status toast text
rhunk Aug 12, 2024
9f0fecb
feat(core/ui_tweaks): hide billboard prompt
rhunk Aug 12, 2024
b50237c
fix(composer): download button icon
rhunk Aug 12, 2024
21395b4
fix(app/media_downloader): force voice note format
rhunk Aug 12, 2024
d40c52d
perf(core): bind chat message event optimization
rhunk Aug 12, 2024
e6e3382
feat(core/ui_tweaks): hide sc plus gift reminders
rhunk Aug 12, 2024
2f30079
feat(core): auto download voice notes
rhunk Aug 12, 2024
7f5e76d
fix(voice_note_override): content type check
rhunk Aug 12, 2024
877c1ea
feat(app/add_friend_dialog): pinned friends
rhunk Aug 13, 2024
324eae8
fix(friend_tracker/edit_rule): scope type
rhunk Aug 13, 2024
4325e51
feat(ui/features): better rule list management
rhunk Aug 13, 2024
aa0a3d9
fix(ui/home_settings): actions text
rhunk Aug 13, 2024
23b681d
feat(ui/add_friend_dialogs): support more pinned ids
rhunk Aug 13, 2024
ef1566a
fix(setup/ui): mappings screen crash
rhunk Aug 14, 2024
47efdf1
feat(core/security_features): better explanation of login response
rhunk Aug 16, 2024
664c621
feat(scripting): support bridge reload
rhunk Aug 18, 2024
f040dc0
chore(ui/scripting): update docs url
rhunk Aug 18, 2024
1d4cd7c
chore(ui/home): update debug commit url
rhunk Aug 18, 2024
a43e404
feat(core): hidden api bypass
rhunk Aug 19, 2024
a877c04
feat(core): better send override
rhunk Aug 19, 2024
e4c4af8
feat(core): show battery level
rhunk Aug 20, 2024
0f0b524
feat(core): custom shared library
rhunk Aug 20, 2024
242ff17
fix(core/send_override): translation
rhunk Aug 20, 2024
4bd7328
feat(scripting/messaging): conversation manager ready event
rhunk Aug 21, 2024
7d06d1c
feat(scripting/interfaces): new thread function
rhunk Aug 21, 2024
8d2353b
feat(scripting): setTimeout and setInterval support
rhunk Aug 21, 2024
bd9ef39
fix(core): camera tweaks load
rhunk Aug 22, 2024
2f4817d
fix(core/ui): opera viewer icons
rhunk Aug 22, 2024
c31454b
fix(core): stealth mode indicator icon
rhunk Aug 22, 2024
b2c51d8
fix(core/send_override): snap sound
rhunk Aug 22, 2024
4d8eefb
fix(app): bridge service permission
rhunk Aug 23, 2024
9e19de0
fix(composer): set target to es2023
rhunk Aug 23, 2024
ac453d5
fix(composer): opera download button
rhunk Aug 23, 2024
c7745e2
fix(core/send_override): strip media metadata
rhunk Aug 23, 2024
7908fe2
fix(mapper): default media item mapper
rhunk Aug 27, 2024
9817843
refactor(composer): unused import
rhunk Aug 27, 2024
7c5658b
feat(better_location): battery level in map focus view
rhunk Aug 27, 2024
adfb581
fix(core/send_override): saveable snap infinite duration
rhunk Aug 27, 2024
0086e19
fix(core/better_location): friend cluster support
rhunk Aug 27, 2024
70bd6b7
feat(core/ui_tweaks): remove map reactions
rhunk Aug 27, 2024
a63dc87
fix(core/security_features): temporary indicator
rhunk Aug 29, 2024
1f8b214
fix(manager): download link
rhunk Sep 5, 2024
8bdc1f6
feat(bulk_messaging_action): sort and filter by location
rhunk Sep 6, 2024
a9983c9
fix(app/ui): cards padding & styles
rhunk Sep 7, 2024
ae2e4c1
refactor(core): InAppOverlay
rhunk Sep 7, 2024
ccc8000
fix(core): stealth mode indicator
rhunk Sep 7, 2024
6a22224
fix(lspatch_updater): auto restart
rhunk Sep 8, 2024
4fe386e
feat(app/updater): debug CI builds
rhunk Sep 8, 2024
d5b47e3
fix(app/updater): json null exception
rhunk Sep 8, 2024
1a14c43
fix(native): lock database
rhunk Sep 15, 2024
08f5ff3
fix(app): update notification
rhunk Sep 15, 2024
0fb2551
chore: translations (#1145)
weblate Sep 21, 2024
4dc78bc
refactor!: support resource obfuscation
rhunk Sep 27, 2024
3cbdcae
(revert) hiccup
Sep 27, 2024
c695145
build: update ndk version
rhunk Sep 27, 2024
574775f
fix(core/ui): snap preview overlapping
rhunk Oct 6, 2024
beb5217
feat(security_features): mod detection version check
rhunk Oct 6, 2024
fe8b5ab
fix(core/settings_menu): remove inapp SnapEnhance title
rhunk Oct 6, 2024
8b11ce2
fix(core/ui): fallback typeface
rhunk Oct 7, 2024
c3ce5c3
chore: readme
rhunk Oct 7, 2024
983e593
ci(debug): change runner os
authorisation Oct 7, 2024
7458d57
fix(ui/setup): thread exception
rhunk Oct 7, 2024
a5b917b
chore(ci): remove universal
authorisation Oct 13, 2024
aa47c7b
fix(core): send override
rhunk Oct 24, 2024
721106a
Merge branch 'refs/heads/dev' into dev-gh
rhunk Oct 24, 2024
fffe441
fix(ui): overlay toasts
rhunk Oct 24, 2024
6fed85b
feat(core): hide quick add suggestions
rhunk Oct 29, 2024
5836c2e
fix(core/ui): chat input bar
rhunk Nov 4, 2024
3c8ad6a
fix(build/native): ndk version
rhunk Nov 8, 2024
54171cf
fix(core/event_bus): concurrent access
rhunk Nov 8, 2024
4079745
feat: friend notes
rhunk Nov 8, 2024
977d8b4
fix(core): composer loader bootstrap
rhunk Dec 8, 2024
a035f0e
fix(common): syncFriend
rhunk Dec 8, 2024
047efcc
fix(core/ui): typeface
rhunk Dec 8, 2024
7d932f0
feat(client_bootstrap_override): simple snapchat
rhunk Dec 8, 2024
b6f4d91
feat(core/snapchat_plus): ad free tier
rhunk Dec 8, 2024
d71b996
fix(core/cof_override): action menu v2
rhunk Dec 8, 2024
61a20e7
fix(core/ui): fonts
rhunk Dec 19, 2024
cbf02e1
fix(app): proguard rules
rhunk Dec 19, 2024
bf5d577
fix(core): restricted methods
rhunk Dec 22, 2024
f854b21
fix(core): feed entry table
rhunk Jan 2, 2025
23666e5
feat(app/ui): top bar action button text
rhunk Jan 2, 2025
8e8220a
refactor: security features
rhunk Jan 2, 2025
3d50054
fix(core): remote media resolver
rhunk Jan 2, 2025
6f87d59
perf(core/snap_preview): lazy loading
rhunk Jan 2, 2025
f69f08c
fix: security features
rhunk Jan 3, 2025
a1dc03c
fix(core/notifications): resume coroutine
rhunk Jan 3, 2025
ebc5469
perf(app): logger history cache
rhunk Jan 3, 2025
c7cb25c
fix(core/wrapper): param map field
rhunk Jan 8, 2025
2c435a3
fix(core): opera viewer params override
rhunk Jan 10, 2025
1e29014
feat(core/message_logger): deleted message color
rhunk Jan 10, 2025
8bb2cb3
fix: bug report template
rhunk Jan 10, 2025
fbeb3d8
perf(app): log reader
rhunk Jan 10, 2025
f9d1c9e
chore: update dependencies
rhunk Jan 14, 2025
d217e2e
fix(ui): debug chat context menu
rhunk Jan 18, 2025
053b56b
feat(core): hide friends
rhunk Feb 1, 2025
296d996
chore: readme (#1341)
ptraced Feb 1, 2025
d5a926f
fix(core/media_downloader): public stories
rhunk Feb 5, 2025
bf43894
feat: sif indicator
rhunk Feb 5, 2025
ec3dbd6
fix(core): media downloader
rhunk Feb 5, 2025
0016897
fix(core): half swipe notifier notification
rhunk Feb 5, 2025
89f2d99
fix(mapper): opera viewer params
rhunk Feb 14, 2025
ec15b27
refactor: app links
rhunk Feb 14, 2025
00dd9e6
fix(app/ffmpeg): hardware acceleration
rhunk Feb 21, 2025
0c99ae1
fix(core): addView hook
rhunk Feb 26, 2025
008c094
feat(core/tweaks): double tap chat action
rhunk Feb 26, 2025
5fc415d
refactor(common): remove native hooks feature notice
rhunk Feb 26, 2025
7ded784
feat(core): double tap custom emoji reaction
rhunk Feb 26, 2025
c7a2d02
feat(core): snap score changes
rhunk Mar 8, 2025
2ef0e54
fix(core): call recorder
rhunk Mar 16, 2025
bee1b7b
fix(core): config override
rhunk Mar 16, 2025
952d43b
fix(core): snapchat plus
rhunk Mar 16, 2025
b6aa485
fix(core): snap score changes
rhunk Mar 16, 2025
3394bfc
feat(core): startup default camera
rhunk Mar 24, 2025
62350a0
fix(core): disable metrics
rhunk Apr 10, 2025
9761d73
refactor(core): security features
rhunk Apr 10, 2025
31feea3
feat(core): exclude from message logger
rhunk Apr 10, 2025
b71a55a
chore: readme (#1376)
ptraced Apr 13, 2025
872be7d
refactor(core): remove spoofing features (#1380)
ptraced May 20, 2025
81ef453
chore: translations (#1261)
weblate May 20, 2025
1c6a057
feat(native): default target
rhunk May 8, 2025
88b1813
feat: disable snap mode restrictions
rhunk May 16, 2025
5c87df9
fix: custom streaks expiration
rhunk May 16, 2025
3ff163c
fix(composer): runtime migration
rhunk May 17, 2025
cbf69b2
feat(composer): custom self destruct snap delay
rhunk Jun 1, 2025
ba848df
Merge branch 'dev' into dev_gh
rhunk Jun 1, 2025
acc92ce
refactor: remove theming feature
rhunk Jun 6, 2025
b4d3cfd
fix(native): out of bounds signature crash
rhunk Jun 18, 2025
83e3b46
fix(native): unary call signature
rhunk Jun 18, 2025
502e19a
chore: mod detection version check
rhunk Jun 28, 2025
0a39562
chore: readme
rhunk Jun 28, 2025
c57fbdb
feat(common): bolt resolver api
rhunk Jul 1, 2025
0f2edca
feat(app/better_location): search location by name
rhunk Jul 1, 2025
4e4f77a
fix: prevent message list auto scroll
rhunk Jul 3, 2025
dc5b91a
refactor: remove deprecated transcript api
rhunk Jul 4, 2025
56e434c
feat(core): notification transcript
rhunk Jul 4, 2025
5702420
refactor: security features
rhunk Jul 5, 2025
e7822d8
feat(app): ffmpeg prebuilt
rhunk Jul 5, 2025
6bae2de
fix(core): crashes
rhunk Jul 6, 2025
deae5f3
fix(core): composer native bridge
rhunk Jul 7, 2025
e18243f
fix(composer): first created username
rhunk Jul 7, 2025
83878be
fix: remote media resolver
rhunk Jul 8, 2025
b11504a
feat(core): disable attestation job
rhunk Jul 8, 2025
814a0cd
fix(message_logger): chat edit history
rhunk Jul 8, 2025
f16ab56
fix(translation): json parsing error
rhunk Jul 10, 2025
68c9a4c
chore(media_file_picker): spelling
rhunk Jul 21, 2025
b1abac2
fix(core): arroyo conversation
rhunk Jul 21, 2025
d05ef5d
fix(core): current main activity
rhunk Jul 21, 2025
23897ba
fix(core): disable plugin
rhunk Jul 23, 2025
e26ea01
fix(core): snapchat plus
rhunk Jul 30, 2025
9d4256f
Merge branch 'refs/heads/loading_fix' into dev
rhunk Jul 30, 2025
4841e3a
fix(core): direct link sharing
rhunk Jul 30, 2025
3170809
feat(core): remove friend feed ads
rhunk Jul 31, 2025
ca01565
refactor(core): remove edit message feature
rhunk Jul 31, 2025
4e60b01
fix(core): hide story suggestions
rhunk Aug 1, 2025
93358d9
refactor(core): remove simple snapchat
rhunk Aug 1, 2025
621c16d
feat(core/scripting): disable script optimization
rhunk Aug 2, 2025
9c3cfb0
feat: translations (#1410)
RSR1337 Aug 2, 2025
3951d30
feat(common): map live location notification
rhunk Aug 2, 2025
2f80868
fix(core): streak expiration
rhunk Aug 6, 2025
7880b02
fix(core): disable snap splitting
rhunk Aug 22, 2025
bf5d92a
fix(core): database feed entries
rhunk Aug 26, 2025
f3465a6
feat(core): prevent forced keyboard
rhunk Aug 26, 2025
3fb05c7
fix(core): send override for memories
rhunk Aug 26, 2025
d4c8a21
feat(core): stealth mode save snap in chat
rhunk Aug 26, 2025
fafb88d
fix(core): syncRemote crash
rhunk Aug 28, 2025
c29d142
fix(core): font crash
rhunk Aug 28, 2025
aea5922
fix(core): spotlight not loading
rhunk Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
65 changes: 32 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,63 @@
name: "Bug report"
description: Report an issue to help the project improve.
title: "bug: - <title>"
labels: [
"bug"
]
description: "Report an issue to help the project improve."
title: "..."
labels:
- "bug"
body:
- type: textarea
id: description
attributes:
label: "Description"
description: Please enter an explicit description of your issue
placeholder: Short and explicit description of your incident...
description: "Please enter an explicit description of your issue"
placeholder: "Short and explicit description of your incident..."
validations:
required: true
- type: textarea
id: reprod
attributes:
label: "Reproduction steps"
description: Steps to reproduce the behavior
description: "Steps to reproduce the behavior"
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
render: bash
1. Go to `...`
2. Click on `....`
3. Scroll down to `....`
4. See error.
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: "Screenshots"
description: If applicable, add screenshots to help explain your problem
value: |
![DESCRIPTION](LINK.png)
render: bash
validations:
required: false
- type: textarea
id: logs
attributes:
label: "Logs"
description: Please copy and paste any relevant log output if available
render: bash
description: "Please copy and paste any relevant log output if available"
render: markdown
validations:
required: false
- type: input
id: snapchat-version
attributes:
label: "Snapchat Version"
description: On which Snapchat version is this happening?
placeholder: ex. 12.35.0.45
description: "On which Snapchat version is this happening?"
placeholder: "ex. 12.35.0.45"
validations:
required: true
- type: input
id: snapenhance-version
attributes:
label: "SnapEnhance Version"
description: "On which SnapEnhance version is this happening?"
placeholder: "ex. 1.2.5"
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Agreement
description: By creating this issue I made sure that ...
label: "Agreement"
description: "**By creating this issue, I agree to the following terms:**"
options:
- label: I am using the latest stable SnapEnhance version.
required: true
- label: There is no issue already describing my problem.
required: true
- label: "This is not a bug regarding Snapchat+."
- label: "I am using a debug version of SnapEnhance."
- label: "I have provided a detailed description of the issue."
- label: "I have attached a log if deemed necessary."
- label: "This issue is not a duplicate."
validations:
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_suggestion.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Feature suggestion"
description: Suggest a new feature to help the project improve.
title: "feat: - <title>"
title: "..."
labels: [
"enhancement"
]
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/android.yml

This file was deleted.

186 changes: 186 additions & 0 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
name: Debug CI
on:
workflow_dispatch:
inputs:
ci_upload:
description: 'Upload to CI channel'
required: false
type: boolean

jobs:
job_armv8:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Setup NPM Dependencies
run: npm install typescript -g

- name: Add Android targets for Rust
run: rustup target add armv7-linux-androideabi aarch64-linux-android

- name: Build
run: ./gradlew assembleArmv8Debug

- name: Determine the latest Build Tools version installed
shell: bash
run: echo "BUILD_TOOL_VERSION=$(ls "$ANDROID_HOME/build-tools/" | tail -n 1)" >> $GITHUB_ENV

- name: Sign APK
id: sign_app
uses: SnapEnhance/sign-android-release@master
with:
releaseDirectory: app/build/outputs/apk/armv8/debug/
signingKeyBase64: ${{ secrets.JAVA_KEYSTORE_DATA }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}

- name: Get current build version
id: version-env
run: |
./gradlew getVersion
echo "version=$(cat app/build/version.txt)" >> $GITHUB_ENV

- name: Delete unsigned APK file and rename the signed one
run: |
find app/build/outputs/apk/armv8/debug/ -type f ! -name '*-signed*' -delete
mv ${{steps.sign_app.outputs.signedReleaseFile}} app/build/outputs/apk/armv8/debug/snapenhance-${{ env.version }}-armv8-${GITHUB_SHA::7}.apk

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: snapenhance-armv8-debug
path: app/build/outputs/apk/armv8/debug/*.apk

job_armv7:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Setup NPM Dependencies
run: npm install typescript -g

- name: Add Android targets for Rust
run: rustup target add armv7-linux-androideabi aarch64-linux-android

- name: Build
run: ./gradlew assembleArmv7Debug

- name: Determine the latest Build Tools version installed
shell: bash
run: echo "BUILD_TOOL_VERSION=$(ls "$ANDROID_HOME/build-tools/" | tail -n 1)" >> $GITHUB_ENV

- name: Sign APK
id: sign_app
uses: SnapEnhance/sign-android-release@master
with:
releaseDirectory: app/build/outputs/apk/armv7/debug/
signingKeyBase64: ${{ secrets.JAVA_KEYSTORE_DATA }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}

- name: Get current build version
id: version-env
run: |
./gradlew getVersion
echo "version=$(cat app/build/version.txt)" >> $GITHUB_ENV

- name: Delete unsigned APK file and rename the signed one
run: |
find app/build/outputs/apk/armv7/debug/ -type f ! -name '*-signed*' -delete
mv ${{steps.sign_app.outputs.signedReleaseFile}} app/build/outputs/apk/armv7/debug/snapenhance-${{ env.version }}-armv7-${GITHUB_SHA::7}.apk

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: snapenhance-armv7-debug
path: app/build/outputs/apk/armv7/debug/*.apk

job_manager:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build
run: ./gradlew manager:assembleDebug

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: manager
path: manager/build/outputs/apk/debug/*.apk

job_core:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Add Android targets for Rust
run: rustup target add armv7-linux-androideabi aarch64-linux-android

- name: Build
run: ./gradlew assembleCoreDebug

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: core
path: app/build/outputs/apk/core/debug/*.apk
Loading