Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[metadata] not rebuilding on json api usage change #1589
Comments
|
Hey @farfromrefug , tns create myApp --js
cd myApp
touch app/App_Resources/Android/native-api-usage.json
echo '{ "whitelist":["java.util:List"] }' > app/App_Resources/Android/native-api-usage.json
tns run android --justlaunch # app will fail at runtime
echo '{ }' > app/App_Resources/Android/native-api-usage.json
tns run android --justlaunch # app should work, but it still fails at runtime
rm -rf platforms
tns run android --justlaunch # app will workNOTE: The issue will be reproduced even if you use |
|
@rosen-vladimirov exactly what i am seeing! |
|
I made a simple change in the |
i am starting to include
native-api-usage.jsonin my app.Right now i need to run to see what s being used, update the file, run again.
My issue is that the rebuild of metadata is not triggered on
native-api-usage.json, so i need to remove theplatformsfolder and start again which is slow.Could you add that feature?
Thanks