This adds the ability to detect the presence of an s-pen in apple, although it is untested on iOS. However, the logic has been changed to be handled the same as in android, which has been tested and works as expected. 🎉
With this new logic, we will assume that no device has a stylus. Once a user draws at least once with a stylus, we will toggle an internal pref that there is a stylus available, at which point two things will happen:
They get a dialog indicating that there is stylus support in the lib and that it offers a better drawing experience
closes #123
This adds the ability to detect the presence of an s-pen in apple, although it is untested on iOS. However, the logic has been changed to be handled the same as in android, which has been tested and works as expected. 🎉
With this new logic, we will assume that no device has a stylus. Once a user draws at least once with a stylus, we will toggle an internal pref that there is a stylus available, at which point two things will happen: