Generated an app icon using https://appicon.co/ Ive used this before for other apps and its working great but this time my app icon has white padding on android OS, , any idea why ? Im using react native & already added assets to android native side app icon How icon looks on android home icon on android Answer Turns out
Tag: android
What is the best way to develop a offline first application in React Native?
Offline applications is a feature that permits the user to access mobile apps without the Internet. On my requirement, I would like to create an app that allows users to save data such as pictures and videos while they are offline and upload them when they connect to the internet. What is the best way to achieve my goal, and
remove active class by scrolling in android
I would like to ask how can I remove active class when scrolling? Everything works fine on desktop size, it removes the active class when I’m scrolling, even if I click on any nav menu, when I’m continue scrolling it removes the active class from that nav menu. But it gets weird on mobile device, if I’m just scrolling it
How good is to apply React Context API for all screens
Currently I have four contexts that wrap all my routes (as shown bellow) so that I don’t have lost providers all around my app screens and components. As far as I know, when I modify the value of a context variable, every component that uses it will update too, what can lead to memory problems, but my question is: if
How to switch from graph view and tableview with a toggle button in Ionic 6/Angular?
I have two components to show data. The table view and the graph view. Both components has the same data. I use a toggle switch button to switch between these views. This is my code: The default view is the graphview via chart.js. Both components works fine. This is my code to hide and show: When I click on the
AsyncStorage setItem inside loop crashes
App crashes when trying to save something into asyncStorage. It crashes without an error message however I think the problem is in the while loop: As soon as the loop gets executed, the app crashes, console.log(“got here”) doesn’t even run. This function is called from a Pressable component: Answer I had to change it from a while loop to a
React Native TextInput sends input on second press
Guys i’m new to React Native and also not good at JavaScript. In my app i have 2 TextInput and a Pressable button but the output is not making sense. I’ve tried to change timing of execution of some lines but result is the same. I’m using: expo, react native 0.68.2, android api 30 (Android Studio) output: Android Bundling complete
Why number or digits showing dots on smartphone? [closed]
Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the
How to navigate errors showing after I run React Native app on Mac with command ‘react-native run-android’?
I run the app with the command “react-native run-android” and it worked. But after logging in the app with user login info, it shows black error screens and following is the error message. As seen in the error message, error is located at many places but I assume it’s not like that. What I am wondering about is how I
Convert from class to functional code in React Native
How do I transfer the follwing code from CLASS to FUNCTIONAL component? This Backhandler part looks like it belongs to React Native so I would have thought that this could be converted to Functional code instead of being within a Class. If there’s some other ways that you know of to achieve the same thing handling the back button, please