NativeScript / NativeScript/ios-device-lib
Purpose of the IOSDeviceLib's interface
Personne n'a encore pris cette issue.
- Langage dominant
- C++
- Étoiles
- 16
- Forks
- 8
- Merge moyen
- 19 h 29 min
- PR mergées (30 j)
- 2
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par comparer l’interface JavaScript avec l’utilisation de mobile-cli-lib et le code natif qui analyse uploadArray, downloadArray et postNotificationArray. Déterminez si IOSDeviceLib est destiné à servir de proxy ou d’API destinée à l’application, puis définissez les modifications d’interface nécessaires pour expliciter cette finalité et les arguments acceptés.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp, javascript
- Domaine
- api
- Type d'issue
- Refactorisation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100