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

Dev #1

Open
wants to merge 70 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
f7002a8
use nes endpoint to login user
kpose Oct 9, 2022
bd0a157
add app storage keys
kpose Oct 10, 2022
08df383
log user in nd save auth token
kpose Oct 10, 2022
8b00846
sign up user using new api
kpose Oct 10, 2022
d312a80
UserProvider is no longer required
kpose Oct 10, 2022
792fb29
upload document to mongo and s3
kpose Oct 10, 2022
337f2f5
update file viewer provider
kpose Oct 12, 2022
c25c9c9
clean up fileuploadprovider
kpose Oct 12, 2022
117d651
get typed resonse from api call
kpose Oct 12, 2022
fcc29a5
get extracted book data
kpose Oct 18, 2022
899d981
save book metadata to redux
kpose Oct 18, 2022
7ca945b
render uploaded books
kpose Oct 18, 2022
6188859
add pdf book thumbnail
kpose Oct 18, 2022
3483492
disable FAB button when extracting text from pdf
kpose Oct 19, 2022
16d8d05
update..
kpose Oct 21, 2022
850070d
updte
kpose Oct 21, 2022
85e1db0
update local storage on mount if necessary
kpose Oct 26, 2022
9f9ec16
render user books on mount
kpose Oct 26, 2022
c5e6d9d
render saved docs
kpose Oct 29, 2022
b00d438
navigate authenticated users to home screen
kpose Oct 29, 2022
0536948
remove home screen and search screen nav
kpose Oct 29, 2022
590bd60
rewrite screen components and navigation
kpose Oct 29, 2022
d180cec
handle uploaded items
kpose Oct 29, 2022
654fc06
render bottom sheet when item clicked
kpose Oct 29, 2022
bf6fa38
add bottom sheet modal to display reading or listening options
kpose Oct 29, 2022
1e6edd6
rewrite navigation logic
kpose Oct 30, 2022
7199036
add dynamic background to bottom control panel
kpose Oct 30, 2022
ccb88cc
render bottom panel controls
kpose Oct 30, 2022
78bfae5
change control svg icons
kpose Oct 30, 2022
9395d1b
render document texts in pages
kpose Oct 31, 2022
0bea7af
use touchable opacity for controls
kpose Oct 31, 2022
062eb85
add line height to speach text component
kpose Oct 31, 2022
bcff364
save users' last read page and continue reading from there
kpose Nov 2, 2022
27e027d
stash
kpose Nov 4, 2022
8a3edf6
disable speachtext if not reading specific text
kpose Nov 4, 2022
bc41a26
remove redundant log messages
kpose Nov 7, 2022
4daaee8
resume listening from last page
kpose Nov 7, 2022
8cefcb0
play and pause reading
kpose Nov 7, 2022
e8815aa
animate pause button
kpose Nov 8, 2022
baa4817
scroll to last listened page when opening book
kpose Nov 8, 2022
64fda7c
add close button and render oe page per screen
kpose Nov 8, 2022
3ada570
add close icon and pause reading before closing doc
kpose Nov 8, 2022
bff0bed
users can open modal to select prefered voice
kpose Nov 9, 2022
06aec23
use checkmake icon to show currently selected voice
kpose Nov 10, 2022
da37f26
users can select a preferred voice
kpose Nov 10, 2022
a3c074d
Add a heptic feedback when speaker button is pressed
kpose Nov 10, 2022
121fe33
users can select voice based on speakers accent
kpose Nov 10, 2022
bfa3349
persist user's selected default voice
kpose Nov 10, 2022
a5e8c7b
let users know when their library is empty
kpose Nov 11, 2022
855d379
(wip): let users know their doc is being processed/uploaded
kpose Nov 11, 2022
e8547d9
users can delete uploaded books
kpose Nov 14, 2022
29119d4
stop speach when floating button clicked
kpose Nov 14, 2022
7ce28e8
give visual feedback when uploading doc
kpose Nov 14, 2022
03dcada
add redux flipper integration to project
kpose Nov 15, 2022
dd72477
show visual feedback when deleting uploaded documents
kpose Nov 15, 2022
357ed9c
uploaded documents should have a thumbnail
kpose Nov 19, 2022
6956c4a
use fastimage to load thumbnails
kpose Nov 19, 2022
c710c89
correctly render uploaed pdf's
kpose Nov 19, 2022
f05bcea
handle default current reading page
kpose Nov 19, 2022
4fd1899
refresh update deps
KposeFLW May 19, 2023
29f1d5a
update packages
KposeFLW May 19, 2023
de86896
use touchableopacity for read and listen buttons
KposeFLW May 19, 2023
fa44d3a
truncate title text
KposeFLW May 19, 2023
d6911a6
Users should decide if they want to restart reading or continue readi…
KposeFLW May 23, 2023
fc5624c
add custom component to dispay when updating library
KposeFLW May 28, 2023
da68f15
modify app navigator structure
KposeFLW May 28, 2023
cf679dc
tracking file deleting progress
KposeFLW May 28, 2023
d1aa763
cleanup
KposeFLW May 28, 2023
f26b737
clean up document upload
KposeFLW Jun 3, 2023
1cc1d01
in progress
KposeFLW Aug 1, 2023
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
98 changes: 98 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.6)
rexml
activesupport (7.0.4.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
claide (1.1.0)
cocoapods (1.12.1)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.12.1)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.6.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.6.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.21.0, < 2.0)
cocoapods-core (1.12.1)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
public_suffix (~> 4.0)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (1.6.3)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.2.2)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
ffi (1.15.5)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
json (2.6.3)
minitest (5.18.0)
molinillo (0.8.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
public_suffix (4.0.7)
rexml (3.2.5)
ruby-macho (2.5.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
xcodeproj (1.22.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)

PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.11, >= 1.11.2)

RUBY VERSION
ruby 2.7.5p203

BUNDLED WITH
2.1.4
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
import {AppRegistry} from 'react-native';
import App from './src/App.tsx';
import {name as appName} from './app.json';
import 'react-native-get-random-values';

AppRegistry.registerComponent(appName, () => App);
3 changes: 2 additions & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'
platform :ios, '12.4'
install! 'cocoapods', :deterministic_uuids => false

production = ENV["PRODUCTION"] == "1"
Expand All @@ -15,6 +15,7 @@ target 'readme' do
pod 'rn-fetch-blob',
:path => '../node_modules/rn-fetch-blob'
pod 'RNFS', :path => '../node_modules/react-native-fs'
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'

# Flags change depending on the env values.
flags = get_default_flags()
Expand Down
82 changes: 67 additions & 15 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -98,27 +98,36 @@ PODS:
- FlipperKit/FlipperKitNetworkPlugin
- fmt (6.2.1)
- glog (0.3.5)
- GoogleDataTransport (9.2.0):
- GoogleDataTransport (9.2.3):
- GoogleUtilities/Environment (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/AppDelegateSwizzler (7.7.0):
- GoogleUtilities/AppDelegateSwizzler (7.11.1):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.7.0):
- GoogleUtilities/Environment (7.11.1):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.7.0):
- GoogleUtilities/Logger (7.11.1):
- GoogleUtilities/Environment
- GoogleUtilities/Network (7.7.0):
- GoogleUtilities/Network (7.11.1):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.7.0)"
- GoogleUtilities/Reachability (7.7.0):
- "GoogleUtilities/NSData+zlib (7.11.1)"
- GoogleUtilities/Reachability (7.11.1):
- GoogleUtilities/Logger
- GTMSessionFetcher/Core (1.7.2)
- libevent (2.1.12)
- libwebp (1.2.4):
- libwebp/demux (= 1.2.4)
- libwebp/mux (= 1.2.4)
- libwebp/webp (= 1.2.4)
- libwebp/demux (1.2.4):
- libwebp/webp
- libwebp/mux (1.2.4):
- libwebp/demux
- libwebp/webp (1.2.4)
- lottie-ios (3.4.0)
- lottie-react-native (5.1.4):
- lottie-ios (~> 3.4.0)
Expand All @@ -129,10 +138,10 @@ PODS:
- nanopb/decode (2.30908.0)
- nanopb/encode (2.30908.0)
- OpenSSL-Universal (1.1.1100)
- PDFNet (3.0.2-beta.136)
- PDFNet (3.0.3-21)
- Permission-MediaLibrary (3.6.1):
- RNPermissions
- PromisesObjC (2.1.1)
- PromisesObjC (2.2.0)
- RCT-Folly (2021.06.28.00-v2):
- boost
- DoubleConversion
Expand Down Expand Up @@ -327,6 +336,11 @@ PODS:
- glog
- RCT-Folly (= 2021.06.28.00-v2)
- React-jsi/Default (= 0.69.4)
- React-jsi/Default (0.69.4):
- boost (= 1.76.0)
- DoubleConversion
- glog
- RCT-Folly (= 2021.06.28.00-v2)
- React-jsiexecutor (0.69.4):
- DoubleConversion
- glog
Expand All @@ -339,8 +353,14 @@ PODS:
- glog
- react-native-document-picker (8.1.1):
- React-Core
- react-native-flipper (0.174.0):
- React-Core
- react-native-get-random-values (1.9.0):
- React-Core
- react-native-pdf-thumbnail (1.0.2):
- React
- react-native-render-html (6.3.4):
- React-Core
- react-native-safe-area-context (4.3.3):
- RCT-Folly
- RCTRequired
Expand Down Expand Up @@ -417,6 +437,10 @@ PODS:
- React-Core
- RNCAsyncStorage (1.17.10):
- React-Core
- RNFastImage (8.6.3):
- React-Core
- SDWebImage (~> 5.11.1)
- SDWebImageWebPCoder (~> 0.8.4)
- RNFBApp (14.11.1):
- Firebase/CoreOnly (= 8.15.0)
- React-Core
Expand Down Expand Up @@ -471,6 +495,12 @@ PODS:
- React-RCTImage
- RNSVG (13.1.0):
- React-Core
- SDWebImage (5.11.1):
- SDWebImage/Core (= 5.11.1)
- SDWebImage/Core (5.11.1)
- SDWebImageWebPCoder (0.8.5):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.10)
- SocketRocket (0.6.0)
- TextToSpeech (4.1.0):
- React
Expand Down Expand Up @@ -527,7 +557,10 @@ DEPENDENCIES:
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- react-native-document-picker (from `../node_modules/react-native-document-picker`)
- react-native-flipper (from `../node_modules/react-native-flipper`)
- react-native-get-random-values (from `../node_modules/react-native-get-random-values`)
- react-native-pdf-thumbnail (from `../node_modules/react-native-pdf-thumbnail`)
- react-native-render-html (from `../node_modules/react-native-render-html`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
Expand All @@ -543,6 +576,7 @@ DEPENDENCIES:
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
- RNFastImage (from `../node_modules/react-native-fast-image`)
- "RNFBApp (from `../node_modules/@react-native-firebase/app`)"
- "RNFBAuth (from `../node_modules/@react-native-firebase/auth`)"
- "RNFBStorage (from `../node_modules/@react-native-firebase/storage`)"
Expand Down Expand Up @@ -579,9 +613,12 @@ SPEC REPOS:
- GoogleUtilities
- GTMSessionFetcher
- libevent
- libwebp
- nanopb
- OpenSSL-Universal
- PromisesObjC
- SDWebImage
- SDWebImageWebPCoder
- SocketRocket
- YogaKit

Expand Down Expand Up @@ -634,8 +671,14 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/logger"
react-native-document-picker:
:path: "../node_modules/react-native-document-picker"
react-native-flipper:
:path: "../node_modules/react-native-flipper"
react-native-get-random-values:
:path: "../node_modules/react-native-get-random-values"
react-native-pdf-thumbnail:
:path: "../node_modules/react-native-pdf-thumbnail"
react-native-render-html:
:path: "../node_modules/react-native-render-html"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
React-perflogger:
Expand Down Expand Up @@ -666,6 +709,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/rn-fetch-blob"
RNCAsyncStorage:
:path: "../node_modules/@react-native-async-storage/async-storage"
RNFastImage:
:path: "../node_modules/react-native-fast-image"
RNFBApp:
:path: "../node_modules/@react-native-firebase/app"
RNFBAuth:
Expand Down Expand Up @@ -715,17 +760,18 @@ SPEC CHECKSUMS:
FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 3d02b25ca00c2d456734d0bcff864cbc62f6ae1a
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
GoogleDataTransport: f0308f5905a745f94fb91fea9c6cbaf3831cb1bd
GoogleUtilities: 9aa0ad5a7bc171f8bae016300bfcfa3fb8425749
GTMSessionFetcher: 5595ec75acf5be50814f81e9189490412bad82ba
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
lottie-ios: 69495122151a378fdc7d1bb4c5930347e37baf1f
lottie-react-native: b702fab740cdb952a8e2354713d3beda63ff97b0
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
PDFNet: 29d12476d6e3d2454d423f5895b0b22876ec69b9
PDFNet: e0f278d566f9140873885892f25822162256e061
Permission-MediaLibrary: a994236bae41b3597a376ff08298fb1c6d84729b
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
RCT-Folly: b9d9fe1fc70114b751c076104e52f3b1b5e5a95a
RCTRequired: bd9d2ab0fda10171fcbcf9ba61a7df4dc15a28f4
RCTTypeSafety: e44e139bf6ec8042db396201834fc2372f6a21cd
Expand All @@ -741,7 +787,10 @@ SPEC CHECKSUMS:
React-jsinspector: 8a3d3f5dcd23a91e8c80b1bf0e96902cd1dca999
React-logger: 1088859f145b8f6dd0d3ed051a647ef0e3e80fad
react-native-document-picker: f68191637788994baed5f57d12994aa32cf8bf88
react-native-flipper: b269b4d4e1ec04f7f443f5edf15100a13e760bf0
react-native-get-random-values: dee677497c6a740b71e5612e8dbd83e7539ed5bb
react-native-pdf-thumbnail: 2610e6c7ed8fad03b8768fe126846d91db61a473
react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe
react-native-safe-area-context: b456e1c40ec86f5593d58b275bd0e9603169daca
React-perflogger: cb386fd44c97ec7f8199c04c12b22066b0f2e1e0
React-RCTActionSheet: f803a85e46cf5b4066c2ac5e122447f918e9c6e5
Expand All @@ -757,6 +806,7 @@ SPEC CHECKSUMS:
ReactCommon: 8f67bd7e0a6afade0f20718f859dc8c2275f2e83
rn-fetch-blob: d469adb2e1d17f9d02ceb2b7bdd35ae5bd5db66b
RNCAsyncStorage: 0c357f3156fcb16c8589ede67cc036330b6698ca
RNFastImage: 5c9c9fed9c076e521b3f509fe79e790418a544e8
RNFBApp: 9646e09d041ea159b84584865212e4cf33acd179
RNFBAuth: af943e3ba071b5f4d18896c31e6cba3a77b1fa08
RNFBStorage: 814adb8c5bf4ff86a0b0641d750a64d6d48d9a75
Expand All @@ -768,11 +818,13 @@ SPEC CHECKSUMS:
RNReanimated: 7faa787e8d4493fbc95fab2ad331fa7625828cfa
RNScreens: 0df01424e9e0ed7827200d6ed1087ddd06c493f9
RNSVG: 1153e8eeb34c788841016c517dba9f57f20b762f
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
TextToSpeech: b3aa777ff5585705f179c0a2436bfd0926d1716e
Yoga: ff994563b2fd98c982ca58e8cd9db2cdaf4dda74
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: b9917835df39c7d271d4e76f291eb4b194b29c6b
PODFILE CHECKSUM: 7fe99186fe217a292e3b8ea9c022d23f16302802

COCOAPODS: 1.11.2
COCOAPODS: 1.12.1
Loading