Ajmal Hasan
Ajmal Hasan
> Hi @Ajmal0197, thanks for the video documentation. Could you also explain what your code is doing? I see a flash of blue that's immediately replaced by yellow. Do you...
IN mainactivity.js _@Override protected void onCreate(Bundle savedInstanceState) { SplashScreen.show(this, true); // _
Send push like this if you are using api. ``` { "notification":{ "title":"New Text Message", "message":"Hello how are you?" }, "data":{ "title":"New Text Message", "message":"Hello how are you?" }, "to":...
Use it like this will create only one connection: **import AsyncStorage from '@react-native-async-storage/async-storage';** Reactotron.configure({ name: 'app_name' }) **.setAsyncStorageHandler(AsyncStorage)** .useReactNative() .use(sagaPlugin()) .use(reactotronRedux()) //
Custom Header code: ``` import React, { useState } from 'react'; import { SafeAreaView, StyleSheet, View, Modal, Button, Text, TouchableOpacity, } from 'react-native'; import { Calendar } from 'react-native-calendars'; import...
Working path for both platform: ``` const { dirs: { DownloadDir, DocumentDir }, } = ReactNativeBlobUtil.fs; const fileDirPathAndroid = '/storage/emulated/0/Download'; const aPath = Platform.select({ ios: DocumentDir, android: fileDirPathAndroid }); const...
Same issue: ``` module.exports = { presets: [ 'module:@react-native/babel-preset', ['@babel/preset-env', { targets: { node: 'current' } }], ], plugins: ['react-native-reanimated/plugin'], env: { production: { plugins: ['transform-remove-console'], }, }, }; ```
Steps for doing so: https://dev.to/ajmal_hasan/react-native-mmkv-5787
Same issue timer is paused after 30 secs in iOS when in background and continues again from there when in foreground. **Any soln available**???
New tab issue fixed as per @joshuayoes soln: ``` import Reactotron, { networking } from 'reactotron-react-native'; import { reactotronRedux } from 'reactotron-redux'; import mmkvPlugin from 'reactotron-react-native-mmkv'; import { MMKV }...