When running the angular demo app on an iPhone, or another app with the plugin installed, the app crashes when trying to view the Basic Line Chart (async data).
What is the new behavior?
Updated the angular demo app to run on ios 14 and xcode 12.
The fromJSToNativePrimitive(value) helper function wasn't translating booleans into numbers, which is expected by the api, causing the app to crash on iPhones. I've updated that function to return a number for booleans which prevents the app from crashing.
What is the current behavior?
What is the new behavior?
Fixes #5