NativeScript / NativeScript/ios-device-lib
Purpose of the IOSDeviceLib's interface
Nessuno ha ancora preso questa issue.
- Lingua principale
- C++
- Stelle
- 16
- Fork
- 8
- Merge medio
- 19h 29m
- PR unite (30g)
- 2
Descrizione
If we would like to state the following:
-
"The node code is there to be able to act as a proxy between the spawned process and the rest of the code"
If this is true.. functions like upload,download, postNotifications should not be defined in the javascript code. -
"The node code should serve as both proxy and api to be used from applications"
If this is true... named functions are a nice idea.
What seems wrong is the fact that currently the only ways to find what to pass in the uploadArray, downloadArray or postNotificationArray are to take a look at the mobile-cli-lib or go to the native code to see how we are parsing the array.
It seems the purpose of IOSDeviceLib's interface is not clear enough with the current implementation.
Please correct me if I don't understand correctly.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia confrontando l’interfaccia JavaScript con l’utilizzo di mobile-cli-lib e il codice nativo che analizza uploadArray, downloadArray e postNotificationArray. Chiarisci se IOSDeviceLib è destinato a fungere da proxy o da API rivolta all’applicazione, quindi definisci le modifiche all’interfaccia necessarie per rendere espliciti questo scopo e gli argomenti accettati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, javascript
- Ambito
- api
- Tipo di issue
- Refactoring
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100