Alperengozum / expo-alarm

Use Android AlarmClock in React Native / Expo app
https://www.npmjs.com/package/expo-alarm
MIT License
2 stars 0 forks source link

installed via npm is not working #7

Open biplabroy-1 opened 1 week ago

biplabroy-1 commented 1 week ago

Hi @Alperengozum

i used your packege and i found if you download the 0.2.1 then it show the Error: Cannot find native module 'ExpoAlarm'

you need to download the 0.2.0 version for perfect use

can you add .showAlarms(); return a array of all alarms.

Alperengozum commented 5 days ago

Hi @biplabroy-1,

I just tested 0.2.1 with my open source project, and it works fine. Sleepwell Github URL Also, there is no difference between 0.2.0 and 0.2.1; it was just a fix for the README.md issue for the NPM package.

Could you test with remove node_modules, remove existing app on emulator, and fresh install it?

Alperengozum commented 5 days ago

can you add .showAlarms(); return a array of all alarms.

Unfortunately, Android AlarmClock does not provide us with a list of all alarms. It only shows alarms and the reason that I implemented it like that. Android AlarmClock Reference