Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test ci #43

Merged
merged 365 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
365 commits
Select commit Hold shift + click to select a range
ea71b8c
add lib
leo-lox Mar 21, 2024
ce3fc62
ndk provider
leo-lox Mar 21, 2024
77c0601
first test if data is streaming in
leo-lox Mar 21, 2024
0f985b5
rearange files (rought)
leo-lox Apr 20, 2024
fb16822
move nostr.band api in domain, data
leo-lox Apr 21, 2024
49fa36e
provider for nostr_band
leo-lox Apr 22, 2024
4ccd8cc
refactor nostr_band
leo-lox Apr 22, 2024
53908f7
move onboard logic to domain
leo-lox Apr 22, 2024
1efc82e
include layerlens
leo-lox Apr 22, 2024
fb97a25
move pysics to presentation
leo-lox Apr 22, 2024
b43ec96
extracted nostr_build file upload
leo-lox Apr 22, 2024
9f62e29
moved ndk to data_sources
leo-lox Apr 23, 2024
09aba0e
readme build instructions
leo-lox May 3, 2024
f7e8dfe
update readme
leo-lox May 3, 2024
d232dd7
metadata provider
leo-lox May 3, 2024
bbd1e9d
delete relay code
leo-lox May 3, 2024
c80eb5f
removed db code
leo-lox May 3, 2024
94f47a8
delete database_provider
leo-lox May 3, 2024
1aa2c51
delete relay_provider
leo-lox May 3, 2024
07deb5c
replaced follow provider with follow useCase
leo-lox May 3, 2024
a00034f
delete block mute provider => moderation Provider + usecase
leo-lox May 3, 2024
37b34c9
delete nip65
leo-lox May 3, 2024
106a39c
replace feeds with usecase
leo-lox May 3, 2024
aabbf03
delete old following pubkeys
leo-lox May 3, 2024
9e573dd
delete block mute
leo-lox May 3, 2024
5495cf3
replace nip05 service with nip05 usecase
leo-lox May 3, 2024
9f16a36
generic eception msg
leo-lox May 3, 2024
3ef4a8a
include relays in nip05 obj
leo-lox May 3, 2024
10f3e0c
dicebear config
leo-lox May 10, 2024
7b55334
move person_card to components
leo-lox May 10, 2024
a62a4f9
note_card update entities
leo-lox May 10, 2024
f59caf0
edit relays usecase
leo-lox May 10, 2024
2d5cf4c
relay hints
leo-lox May 10, 2024
f750079
write_post removed old stuff
leo-lox May 10, 2024
1a0f9e2
removed seen on relays
leo-lox May 11, 2024
a634bd1
updated note_card_reference
leo-lox May 11, 2024
9f0b907
mock block page
leo-lox May 11, 2024
6b54ca6
disabled blocked_users
leo-lox May 11, 2024
6fd4755
update edit_relays
leo-lox May 11, 2024
d5d651a
usecase for event_view_page
leo-lox May 11, 2024
42aef47
user feed cleanup
leo-lox May 11, 2024
8162d98
disabled feeds
leo-lox May 11, 2024
681882c
check for app update
leo-lox May 11, 2024
38cf7f2
tmpfix errors nostr_page
leo-lox May 14, 2024
0ba1184
tmpFix profile_page
leo-lox May 14, 2024
331c88d
add unimplemented to edit_relays_page
leo-lox May 14, 2024
b45c3e0
use usecase for follow page
leo-lox May 14, 2024
4c3954c
disabled profile page feed
leo-lox May 14, 2024
ef477e8
cache profilePicture
leo-lox May 14, 2024
030235d
use UserImage widget in onboarding
leo-lox May 14, 2024
887edbb
removed clearDb setting
leo-lox May 14, 2024
dc5ae84
context in async gaps
leo-lox May 14, 2024
b707103
disabled search functionality
leo-lox May 14, 2024
64f8379
use UserImage in person_card
leo-lox May 14, 2024
92d78db
deleted search obj
leo-lox May 14, 2024
96aa377
get note impl
leo-lox May 14, 2024
b7473ab
changed sub Id for repository_impl getNote()
leo-lox May 14, 2024
dda532b
modify follow to be used sync
leo-lox May 14, 2024
8e9ff95
edit_relays_repository_impl
leo-lox May 14, 2024
7c06126
basic user metadataModel
leo-lox May 14, 2024
4003e53
moved homebarProviderReset
leo-lox May 14, 2024
44b4226
dynamic nostr_tag
leo-lox May 15, 2024
3344244
feed experiments
leo-lox May 15, 2024
6914f6b
rename following to contacts
leo-lox May 15, 2024
0056d24
follow_repository_impl
leo-lox May 15, 2024
bd4c514
discard old events
leo-lox May 15, 2024
718f201
use future for getContacts
leo-lox May 15, 2024
1b649f7
fix provider dependencies
leo-lox May 15, 2024
7eab0e3
search page with ContactList
leo-lox May 15, 2024
7605154
profile page contactList
leo-lox May 15, 2024
f3d69cf
follow service stream + future
leo-lox May 15, 2024
ac9e9d3
enable impeller
leo-lox May 16, 2024
f85605c
tmp disable device preview, incompatible
leo-lox May 16, 2024
6641243
increase minSdkVersion
leo-lox May 16, 2024
4315770
keyPair initialization
leo-lox May 17, 2024
d360739
update imports to new layerd dart_ndk
leo-lox Jul 12, 2024
f90081e
sanitize tags
leo-lox Jul 12, 2024
d5ded34
ideation main feed from multiple source feeds
leo-lox Jul 12, 2024
b502aa7
update to new imports
leo-lox Jul 13, 2024
f499e42
fix import conflicts
leo-lox Jul 13, 2024
79236cd
feed test
leo-lox Jul 13, 2024
1658f64
wip cleanup user_feed
leo-lox Jul 13, 2024
2895088
optimizing render of note_card
leo-lox Jul 14, 2024
eb4b25b
extract widget to fix repeated metadata calls
leo-lox Jul 17, 2024
8750f03
setState
leo-lox Jul 17, 2024
11a9db1
switch to use new api
leo-lox Aug 5, 2024
de326f6
fix invalid index err
leo-lox Aug 5, 2024
ef5ac22
update readme
leo-lox Aug 13, 2024
661ed94
reflect renaming to ndk
leo-lox Aug 19, 2024
6544c24
update ndk usage to use new api
leo-lox Aug 29, 2024
74cc7d8
update dep
leo-lox Aug 31, 2024
7d66e82
hashCode + == in nostr_note
leo-lox Sep 6, 2024
80f681b
simplify note_card_container
leo-lox Sep 6, 2024
ca31ac7
check mounted state on
leo-lox Sep 6, 2024
5f1ad0d
perf fix periodic buffers
leo-lox Sep 7, 2024
7d9015b
wip sync floating nav
leo-lox Sep 7, 2024
4b32809
hook up scroll controller
leo-lox Sep 9, 2024
d6c0366
filter root notes stream
leo-lox Sep 9, 2024
345a882
use build in ndk getMetadataMethod
leo-lox Sep 9, 2024
cfe74bf
delete unused scroll controller
leo-lox Sep 9, 2024
84107f7
dispose scroll listen
leo-lox Sep 9, 2024
50c15c9
remove unused function
leo-lox Sep 9, 2024
cb5a550
sync _loadMore
leo-lox Sep 9, 2024
684b489
feed load more
leo-lox Sep 9, 2024
9e471b4
remove unused code
leo-lox Sep 10, 2024
7fa7ae2
remove keys
leo-lox Sep 10, 2024
0e53696
fix indicator
leo-lox Sep 10, 2024
077c297
sync riverpod feed state
leo-lox Sep 11, 2024
13c51fc
use family provider
leo-lox Sep 12, 2024
e6ea74a
use RustEventVerifier
leo-lox Sep 13, 2024
ebb8e51
rename key
leo-lox Sep 14, 2024
cfdac9b
remove isar dep
leo-lox Sep 14, 2024
14177f5
package upgrades
leo-lox Sep 14, 2024
be16f1a
sync profile page
leo-lox Sep 16, 2024
5085c5e
Merge pull request #42 from leo-lox/dart_ndk_first_look
leo-lox Sep 17, 2024
e9846c3
update to use new metadata ndk usecase
leo-lox Sep 17, 2024
349e7f3
rename back
leo-lox Sep 19, 2024
abd2926
update ndk to 0.1.1
leo-lox Oct 1, 2024
9e3aa37
fix isScrolled
leo-lox Oct 3, 2024
d0ec592
wip follow user
leo-lox Oct 3, 2024
4e1139b
sync: main feed perstance fix
leo-lox Oct 15, 2024
3142ee2
fix display followers
leo-lox Oct 15, 2024
2102cad
gray default header
leo-lox Oct 15, 2024
1e43600
remove unused assets
leo-lox Oct 15, 2024
7c59caa
bg image loading color
leo-lox Oct 15, 2024
580b19a
follow, unfollow
leo-lox Oct 15, 2024
d6481b6
use signer provider
leo-lox Oct 18, 2024
519f21a
wire up unfollow usecase
leo-lox Oct 18, 2024
d7aa6b7
setup onboarding follow graph
leo-lox Oct 18, 2024
349e183
graph experiments
leo-lox Oct 18, 2024
8bdf8f3
stateless profile picture
leo-lox Oct 18, 2024
89d7185
add node
leo-lox Oct 18, 2024
8328deb
graph profile
leo-lox Oct 18, 2024
3dee798
spring length
leo-lox Oct 18, 2024
113a170
disable gif
leo-lox Oct 18, 2024
a580146
pageLock
leo-lox Oct 19, 2024
2bd7011
value key to avoid rerender
leo-lox Oct 19, 2024
447a632
change to actions graph
leo-lox Oct 19, 2024
f5fa195
fix overflow issues
leo-lox Oct 19, 2024
c69421f
follow callback
leo-lox Oct 19, 2024
396760d
rename to profile
leo-lox Oct 19, 2024
6c5d203
mnemonic grid
leo-lox Oct 19, 2024
ee17383
save keys in secure storage
leo-lox Oct 19, 2024
5e5c822
fix event verifier in ndk Provider
leo-lox Oct 22, 2024
80eb0a1
publish acc
leo-lox Oct 22, 2024
d7cec82
metadata rpository
leo-lox Oct 24, 2024
ee8e662
broadcast metadata
leo-lox Oct 24, 2024
ab01a3e
onboarding picture
leo-lox Oct 25, 2024
4119aa3
onboard picture
leo-lox Oct 25, 2024
70eeffa
edit profile
leo-lox Oct 25, 2024
ec89a14
edit profile scrollable
leo-lox Oct 26, 2024
25588a8
edit profile, banner + image
leo-lox Oct 26, 2024
87a8a86
bio multiline
leo-lox Oct 26, 2024
82133d0
unfocus on swipe
leo-lox Oct 26, 2024
af70d16
full screen loading
leo-lox Oct 26, 2024
e11908d
wip onboard_done
leo-lox Oct 26, 2024
996944d
signer state
leo-lox Oct 27, 2024
68af5df
keyPair to entitiy
leo-lox Oct 27, 2024
ff4f388
remove keypair provider
leo-lox Oct 27, 2024
3bc96ed
fix model conversions
leo-lox Oct 27, 2024
4146c64
transition animation
leo-lox Oct 27, 2024
b8109e8
crop loading state
leo-lox Oct 27, 2024
d977f21
package upgrades
leo-lox Oct 28, 2024
aa13126
isar db tests
leo-lox Oct 28, 2024
142fe8d
impove loadEvents query
leo-lox Oct 28, 2024
8996942
icompatible rust builder v
leo-lox Oct 28, 2024
59e1e8c
android back api
leo-lox Oct 28, 2024
1561027
move isar
leo-lox Oct 29, 2024
205dd88
remove isar
leo-lox Oct 29, 2024
a9de511
object box entitys
leo-lox Oct 29, 2024
eedc777
fix db_nip01
leo-lox Oct 29, 2024
ac173c0
objectbox boilerplate
leo-lox Oct 29, 2024
63439f3
basic object box impl
leo-lox Oct 29, 2024
03b00fb
objectbox admin
leo-lox Oct 29, 2024
1e98867
add timeout
leo-lox Oct 29, 2024
d3f7cc8
use follow usecase for getContacts
leo-lox Oct 30, 2024
cf1be85
fix login scroll view
leo-lox Oct 30, 2024
7b8bf06
login page setup
leo-lox Oct 30, 2024
6b12a98
basic amber login
leo-lox Oct 30, 2024
29b4726
amber github url
leo-lox Oct 30, 2024
ed7fdc6
fix: persistant amber login
leo-lox Oct 30, 2024
ef7b02f
remove unused imports
leo-lox Oct 30, 2024
f38c1f6
add main feed todo
leo-lox Oct 30, 2024
47892e3
follow state
leo-lox Oct 30, 2024
90a6ad0
fix drawer profile icon
leo-lox Oct 30, 2024
df0aed7
fix: profile follow state
leo-lox Oct 30, 2024
77aa869
remove unused tests
leo-lox Oct 30, 2024
fc04699
try amber only on android
leo-lox Oct 30, 2024
6ae2b37
dependency_overrides
leo-lox Oct 30, 2024
021dc73
add more permissions to amber
leo-lox Oct 30, 2024
cb41a5f
main feed new notes
leo-lox Oct 31, 2024
1e89f6d
remove dangling function
leo-lox Oct 31, 2024
31dd031
simplify main feed state
leo-lox Oct 31, 2024
7b79143
add app db
leo-lox Oct 31, 2024
9f56acf
rename to object_box_ndk
leo-lox Oct 31, 2024
20e7288
show version
leo-lox Oct 31, 2024
833c4a9
include build and sha info
leo-lox Oct 31, 2024
048b5de
update version
leo-lox Oct 31, 2024
b651c38
font
leo-lox Oct 31, 2024
c9fa1bf
feed cutoff
leo-lox Oct 31, 2024
57d730f
letter spacing
leo-lox Oct 31, 2024
7df3d37
use abstract class in provider
leo-lox Oct 31, 2024
2e9aaef
fix: objectbox keyvalue save
leo-lox Oct 31, 2024
6db0949
dispose main feed
leo-lox Nov 1, 2024
121f900
animate after integrating
leo-lox Nov 1, 2024
9c7f487
main feed both root and replies
leo-lox Nov 1, 2024
7a22af3
feed replies view
leo-lox Nov 1, 2024
aa496e0
remove unnecessary rdy check
leo-lox Nov 1, 2024
00833d2
clean up unused code
leo-lox Nov 1, 2024
5f307e7
dispose feed subs
leo-lox Nov 1, 2024
231e05a
sync profile feed
leo-lox Nov 1, 2024
21d6360
version increase
leo-lox Nov 1, 2024
34d4aa2
NSPhotoLibraryUsageDescription
leo-lox Nov 2, 2024
04162ba
build increase
leo-lox Nov 2, 2024
827e1de
increase minium os version
leo-lox Nov 2, 2024
ff67ae8
target platform
leo-lox Nov 2, 2024
8016145
wip: build note tree
leo-lox Nov 2, 2024
3f5332f
tree helper methods
leo-lox Nov 2, 2024
249bb35
isLeaf, hasChildren
leo-lox Nov 2, 2024
c655857
event feed streams
leo-lox Nov 4, 2024
dd4232b
comments component
leo-lox Nov 4, 2024
dd722a6
event provider
leo-lox Nov 4, 2024
e5b7328
wip thread view
leo-lox Nov 4, 2024
c839eea
basic reply lines
leo-lox Nov 4, 2024
feecf77
fix overflow
leo-lox Nov 4, 2024
0b36e2e
expand logic
leo-lox Nov 4, 2024
fba7104
auto expand
leo-lox Nov 4, 2024
9b48841
fix event feed state obj
leo-lox Nov 4, 2024
ed11b24
fix tab note
leo-lox Nov 4, 2024
e3a114e
fix bg over comment lines
leo-lox Nov 4, 2024
13ecdb9
version increase
leo-lox Nov 4, 2024
2b09a68
fix feed no bg
leo-lox Nov 4, 2024
317b5b7
thread view performance
leo-lox Nov 5, 2024
8feaf91
refactor note_card
leo-lox Nov 5, 2024
e4fdd69
build increase
leo-lox Nov 5, 2024
6b01cc6
update secure storage
leo-lox Nov 5, 2024
7d3a17b
build increase
leo-lox Nov 5, 2024
66a04de
flutter_secure_storage deployment target
leo-lox Nov 5, 2024
eacf70d
set minimum ios version
leo-lox Nov 5, 2024
8bd40ca
increase build number
leo-lox Nov 5, 2024
8932f5c
increase build number
leo-lox Nov 5, 2024
7cd8ab8
force target version
leo-lox Nov 5, 2024
abefb3e
version increase
leo-lox Nov 5, 2024
0f73e26
apple compliance
leo-lox Nov 5, 2024
f987dcb
version increase
leo-lox Nov 5, 2024
b64f92d
build increase
leo-lox Nov 5, 2024
a0ea396
update gradle
leo-lox Nov 6, 2024
a671c5a
ndk dependency
leo-lox Nov 6, 2024
a8c97ec
android ci
leo-lox Nov 7, 2024
150a8e9
e2e test
leo-lox Nov 7, 2024
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
  •  
  •  
  •  
45 changes: 45 additions & 0 deletions .github/workflows/build-android-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Flutter Android CI/CD

on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.4'
channel: 'stable'

- name: Install dependencies
run: flutter pub get



- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'

- name: Install Fastlane
run: |
cd android
gem install bundler
bundle install

- name: Deploy to Test Track Play Store
env:
G_PLAY_FASTLANE_SERVICE_ACCOUNT: ${{ secrets.G_PLAY_FASTLANE_SERVICE_ACCOUNT }}
run: |
cd android
bundle exec fastlane android beta
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: flutter CI

on:
push:
branches: [ dev, main ]
pull_request:
branches: [ dev, main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
#architecture: x64 # optional, x64 or arm64
- run: flutter --version
- run: flutter test -j 1
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.buildlog/
.history
.svn/
.keys/
migrate_working_dir/

# IntelliJ related
Expand Down Expand Up @@ -49,3 +50,20 @@ app.*.map.json

#
NOTES.md

#db
default.isar
default.isar-lck
isar.dll

# fastlane specific
**/fastlane/report.xml

# deliver temporary files
**/fastlane/Preview.html

# snapshot generated screenshots
**/fastlane/screenshots

# scan temporary files
**/fastlane/test_output
34 changes: 17 additions & 17 deletions .metadata
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
# This file should be version controlled and should not be manually edited.

version:
revision: f1875d570e39de09040c8f79aa13cc56baab8db1
channel: stable
revision: "80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: android
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: ios
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: linux
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: macos
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: web
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: windows
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819

# User provided section

Expand Down
41 changes: 37 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,33 @@

## What is it?

camelus is a nostr client written in flutter, it is in heavy development, feel free to test it but expect some issues and missing features.
camelus is a nostr microblogging client written in flutter, it is in heavy development. Feel free to test it, but expect some issues and missing features.
The targeted platforms are mobile clients. Camelus uses dart_ndk as its core lib.
Dart_ndk is maintained by camelus and yana, combining efforts to offer a usable nostr lib accounting for mobile constraints (battery, data). The lib also does the heavy lifting with inbox/outbox (gossip) and database optimizations.

## What is the current mission?

I want to transform camelus into a simple but usable client. If you are looking for fancy features, please look elsewhere.
## architecture
The project uses clean architecture; if you are new to this, look in `domain_layer/usecases` and `domain_layer/entities`. Entities represent data and use cases, the core business logic of camelus.

## how can I test it?
dart_ndk is therefore included as an external lib.
Because camelus and dart_ndk entities are very similar (e.g., `nostr_note`), the conversion is trivial and might raise the question, why not rely on dart_ndk entities? Right now, abstraction is not really needed, and there is a performance penalty. Still, it also offers a clear boundary to dart_ndk and allows us to deviate and experiment on camelus and dart_ndk in the future. In my opinion, this flexibility is more valuable if performance is good enough.


To initialize the code, I use riverpod provider. Combined with clean architecture, it allows me to play Lego and manage dependencies in a central location, and expose it to the presentation_layer. A good example of this is `ndk_provider.dart`.
I use the riverpod provider very similar to singeltons, but the riverpod provider provides a better way to test code.


## state of the project

Right now, camelus is unusable/experimental state. We are right in the process of integrating dart_ndk into camelus, on the way cleaning up obsolete code and refactoring widgets. The goal is to have a reliable codebase that makes it easy for other developers (you?) to contribute to the project.

## Development

To get started, link dart_ndk in `pubspec.yaml` like this:
```
dart_ndk:
path: ../dart_ndk
```

### Android

Expand All @@ -21,3 +41,16 @@ or use the [apk](https://camelus.app/), it is signed with my key so you will nee
I don't have an iOS device so I can't test it, if you have an iOS device and want to test it, you can build it yourself, I will be happy to help you.

Otherwise wait for testflight to be available.


# How to build

1. make sure flutter is installed

2. clone the repo

3. clone [dart_ndk](https://github.com/relaystr/dart_ndk) and depending on your folder structure edit pubspec.yaml to point to the correct path

4. run `flutter pub get`

5. run `flutter build apk --release` or `flutter run` to run directly on your device in debug mode
1 change: 1 addition & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ gradle-wrapper.jar
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
/.keys/

# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
Expand Down
3 changes: 3 additions & 0 deletions android/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gem "fastlane"
Loading
Loading