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: ios
WKWebView iOS linking Javascript File
I’m having trouble getting a javascript file to run from inside a UIViewRepresentable WKWebView. This is probably a simple question with a simple answer, but I cannot seem to figure this out. I’m new to Swift and iOS programming. I’d like to link to a javascript file from inside a String of HTML that is passed to a UIViewRepresentable of
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
The action ‘NAVIGATE’ with payload {…} was not handled by any navigator
So I’m building an app where i send notification to the user when there’s an update. Once the user receives it, on clicking, I want to navigate to a specific screen in my app. The problem is, to do that I have to use a navigation reference to be able to access the navigation object. I did read the doc,
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
Javascript media queries not working in safari / iOS
Hope someone can help. The following lines of code work in everything except Safari. Has anyone else discovered how to get Safari to recognise / process these queries? Any and all help gratefully received. Answer Safari does not support resolution, though it looks like the relevant bug has been fixed so it’ll come out at some point in a Safari
Null check operator used on a null value in WebView flutter
please a error when I try to reload my webview from a button : E/flutter (18150): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Null check operator used on a null value this is my WebView Answer enter code hereUse the fallback operator to set a default value for null values before using the variable. Here, “str” is null, and we set the fallback operator
nativescript-firebase ios initialisation ReferenceError: FIROptions is not defined
I have an issue with the firebase initialisation on my nativescript app (nativescript-vue). I am using the nativescript-firebase plugin from https://github.com/EddyVerbruggen/nativescript-plugin-firebase Here is my initialisation: This works fine on android, but on ios, I get the error from my console.log ReferenceError: FIROptions is not defined My firebase.nativescript.json file is the following: I have tried removing and adding the plugin and
React navigation content size too narrow
Hi I am implementing react navigation in a react native app, and I am following the docs on react navigation. And I when I run the code this is the result: My question is how do I make the center content’s width same as the screen. Also, his is my first time using react native expo after switching from reactJS
Cordova iOS: Failed to load resource: The requested URL was not found on this server
EDIT: While i was trying the same solutions that I already tried, I got it working with “cordova.file.documentsDirectory”, it must be something that I missed last week ORIGINAL QUESTION: I’m building a Leaflet map app in Cordova 9.0.0 that needs to be able to download, unzip, delete unzip file and then access images from unzipped directory on mobile device for