cothings-app / ios Goto Github PK
View Code? Open in Web Editor NEWCoThings's iOS application. CoThings is a realtime counter for shared things.
Home Page: https://cothings.app
License: Other
CoThings's iOS application. CoThings is a realtime counter for shared things.
Home Page: https://cothings.app
License: Other
Currently there's inconsistency between web and mobile. And this makes problem when a group is out of the screen can't be
Web orders by Group.name
and Room.name
while iOS orders by Group.name
and updated_at
so the order is different on first initialize.
I already did and revoke it but I want to give another try, what I didn't like actually didn't auto correct much things.
On slow connections it causes user clicks the button more than once because of the update takes little bit time.
Technical Information About the application.
The screen will be under the Settings screen.
How to interact with Beacon, Socket codes while using SwiftUI
We got 2 new issues @umurgdk
When user changes notification permission from iOS Settings, and comes back to CoThings Notification Settings (where left via "Allow Notifications" button), that button will be there because onAppear
method doesn't call when the screen re-appear.
CoThingsBackend doesn't have the latest list of the rooms when connecting in the background.
Shall we merge this pull request and create these issues as bugs?
Originally posted by @nesimtunc in #36 (comment)
Let user opt in / opt out to receive local push notification for room enter / exits. It connivence for knowing their status in the room without opening the app. It's also handy when use a smart watch.
Personal Opinion: Currently I use for debugging purpose and it's very connivence to get notifications.
We can put in Notification
settings under the Settings. They can choose for enter / exit separately. By default we can send the notification as with sound, if they want they can mute the push sound in iOS settings.
About the application:
Must:
Maybe:
Later:
To setup quickly a server url on the first application launch, user should be able to set the url automatically via QR code using the camera inside the application.
iOS device has a built-in feature to let the app also advertising as beacon broadcaster.
Let's make use of some unused devices, using them as beacons.
This feature can be setup later in Settings screen or asking the user on Boarding Screen #12
Due to device connectivity changes the request might fail, to handle that case we can create a limited but incremental retry mechanism.
For slow connections the home screen is empty during loading requests. Would be nice to have a general loading indicator.
This is also related to #2 issue.
We can use this example: https://github.com/karthironald/ActivityAnimations
ToDos:
Room
model
percentage
and css_class
are no longer returned by backend
percentage
on client sidecond do
percentage <= 60 -> @green
percentage > 60 and percentage <= 80 -> @yellow
percentage > 80 -> @red
end
Mobile design can be found here: https://github.com/rainlab-inc/cothings-design
We need an icon for the application in order to submit the application the App Store.
Until we have a general flow of handling errors, we can just silence it here, and create a new issue for handling errors.
In that case it's better to leave a TODO comment here, and/or an issue number if possible. This would also allow merging this work without getting blocked on this.
Originally posted by @furkanmustafa in https://github.com/rainlab-inc/cothings-ios/pull/1/files/d6d4d099e6554704ed92818350e4c683822bfd42
The task is reading some configs from server as explained here
For the test or development you can use one of our demo web sites if you don't have a local running backend, however the implementation should read the {server_url}
from UserDefaults like this one.
Let user choose some favorite rooms for monitoring. This will be handy for widget and watch app.
Maybe we can limit the favorite rooms count based on device's screen.
The initial design was able to manually change the counters (still it's same on the web) but in iOS, we designed to be once in at one place since that the case of beacon however we've forgot that user might still need to change the counter when there's no beacon set for the room. For example: using of washing machines or dryers which are can't be automated through beacons.
https://github.com/CoThings-App/ios/blob/master/CoThings/Services/BeaconDetector.swift#L146-L174
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.