dough icon indicating copy to clipboard operation
dough copied to clipboard

Sensors introduces platform dependency

Open josiahsrc opened this issue 4 years ago • 1 comments

Sensors introduces platform dependency for android and iOS and does not include the mac/linux/windows platform. This is causing the package to lose pub points.

Find a way to support accelerometer functionality on mobile platforms (for GyroDough) while maintaining support for web/desktop platforms.

https://pub.dev/packages/dough/score

josiahsrc avatar Aug 10 '20 17:08 josiahsrc

An alternative to this would be to have two packages

  1. Platform independent library, Dough, which has all widgets and has not platform dependencies
  2. Platform dependent library, Mobile Dough, which uses sensors

josiahsrc avatar Aug 11 '20 00:08 josiahsrc

Or if your lazy and dont even need gyrodough https://pub.dev/packages/senseless_dough

cyberpwnn avatar Nov 16 '23 11:11 cyberpwnn

New sensors package here: https://pub.dev/packages/dough_sensors

josiahsrc avatar Jan 27 '24 15:01 josiahsrc