Hackerspaces App: Difference between revisions

From NURDspace
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
Currently the app fetches a directory of listings from the SpaceAPI which the user can browse in a list view, they can then select spaces to save which are stored between sessions. Saved space details are loaded and their current status is displayed on the main page, there is a compact view which only displays the space name, if the space is open or closed and the last updated time if the individual space stores that data.
Currently the app fetches a directory of listings from the SpaceAPI which the user can browse in a list view, they can then select spaces to save which are stored between sessions. Saved space details are loaded and their current status is displayed on the main page, there is a compact view which only displays the space name, if the space is open or closed and the last updated time if the individual space stores that data.


== ''Issues:''' ==
== '''Issues:''' ==


It looks like CORS is only an issue when running or testing the app using ionic serve or ionic run -l. This should be fine for the app but if it later becomes an issue then I could potentially implement requests that do not specify an origin via the ionic proxy server.
It looks like CORS is only an issue when running or testing the app using ionic serve or ionic run -l. This should be fine for the app but if it later becomes an issue then I could potentially implement requests that do not specify an origin via the ionic proxy server.
Line 24: Line 24:
Widgets cannot be developed in ionic because they are native Android constructions. Although it does seem possible to create using a cordova plugin called Ace (http://microsoft.github.io/ace) and then bundling that widget with the main build.
Widgets cannot be developed in ionic because they are native Android constructions. Although it does seem possible to create using a cordova plugin called Ace (http://microsoft.github.io/ace) and then bundling that widget with the main build.


== Media ==
== '''Media:''' ==
<gallery>
<gallery>
image:directory-listing.png|First implementation of spaceapi directory listing.
image:directory-listing.png|First implementation of spaceapi directory listing.

Latest revision as of 00:47, 14 July 2020

Hackerspaces App
Hackerspaces-app.png
Participants
Skills Ionic, API, Android
Status Planning
Niche Software
Purpose Sharing, get more people to the space
Tool No
Location
Cost
Tool category

Hackerspaces App

hackerspaces-app.png {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

App Goals:

  • Create an ionic app for Android devices that aims to provide a clean and easy user interface for finding and fetching the status of hackerspaces via spaceapi.
  • Allow the user to create a widget for their chosen hackerspace to view status information at a glance. [Widgets are not supported in Ionic]

Implementation:

Currently the app fetches a directory of listings from the SpaceAPI which the user can browse in a list view, they can then select spaces to save which are stored between sessions. Saved space details are loaded and their current status is displayed on the main page, there is a compact view which only displays the space name, if the space is open or closed and the last updated time if the individual space stores that data.

Issues:

It looks like CORS is only an issue when running or testing the app using ionic serve or ionic run -l. This should be fine for the app but if it later becomes an issue then I could potentially implement requests that do not specify an origin via the ionic proxy server.

Widgets cannot be developed in ionic because they are native Android constructions. Although it does seem possible to create using a cordova plugin called Ace (http://microsoft.github.io/ace) and then bundling that widget with the main build.

Media: