@umituz/react-native-settings 5.2.24 → 5.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-settings",
3
- "version": "5.2.24",
3
+ "version": "5.2.26",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, localization, about, legal, appearance, feedback, FAQs, rating, and gamification",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -200,24 +200,3 @@ export const useEnabledReminders = () => {
200
200
  export const useReminderById = (id: string) =>
201
201
  useNotificationStore(state => state.reminders.find(r => r.id === id));
202
202
 
203
- // ============================================================================
204
- // LEGACY COMPATIBILITY HOOK (for smooth migration)
205
- // ============================================================================
206
-
207
- /**
208
- * @deprecated Use useNotificationStore directly or specific selectors
209
- * Kept temporarily for backward compatibility during migration
210
- */
211
- export const useNotifications = () => {
212
- const hasPermissions = useNotificationPermissions();
213
- const isInitialized = useNotificationInitialized();
214
- const setPermissions = useNotificationStore(state => state.setPermissions);
215
- const setInitialized = useNotificationStore(state => state.setInitialized);
216
-
217
- return {
218
- hasPermissions,
219
- isInitialized,
220
- setPermissions,
221
- setInitialized,
222
- };
223
- };