oney / react-native-gcm-android

GCM for React Native Android
MIT License
172 stars 76 forks source link

Unable to Resolve R.drawable.ic_cast_dark #10

Closed ACCTFORGH closed 8 years ago

ACCTFORGH commented 8 years ago

As the title mentioned, the ".setSmallIcon(R.drawable.ic_cast_dark)" method in RNGcmListenerService reports compilation error because ic_cast_dark was not able to be found.

I am using Android 4.2.2 in Genymotion, Mac El Capital, Android Studio 1.5.

Appreciate your help!

oney commented 8 years ago

Error happened to me too. Fixed in version 0.0.7 https://github.com/oney/react-native-gcm-android/commit/edbb8bfff6585c1f247ac7d0f7b7424761ed6890

ACCTFORGH commented 8 years ago

Awesome! Is 0.0.7 available in npm? I did the installation about 2 hours ago and it's still 0.0.6

oney commented 8 years ago

Just published 1 hour ago. Please try again. https://www.npmjs.com/package/react-native-gcm-android