problem description use react-navigation as the route, but I need to intercept the route through whether there is a token, not to authenticate at first related codes Please paste the code text below (do not replace the code with pictures) con...
it is useless to look at the online method, turn off other command lines, change the react version in the rn project, and re-install. ...
if you want to assign a variable, you can only require let shapeBack = require( . public img shapeBack.png ); then introduce into the source in the Image component but before, when we wrote react to import pictures, we used import,rn but not impor...
problem description the code-push, update has been integrated and released successfully, but the update is not prompted in app the environmental background of the problems and what methods you have tried code push is integrated into the project ac...
look at official tutorial I can t understand it. I haven t tried it for a long time. Which god will give me some advice? ...
to build a game platform, you need to download and manage multiple games. How to download multiple tasks in rn, can monitor the download status, task completion status, do you guys have any useful plug-ins or ideas that can provide you with whether e...
when scrolling up and down, the red area is fixed when scrolling left and right, the blue area is fixed. doesn t know how to implement it, in rn. ...
see on the Internet that there are relevant materials that can solve native APP crashes through RunLoop, but specific examples will not take effect when using react-native hybrid applications. Has anyone ever practiced this? ...
problem description Android cannot be packaged Users XXXXXX XXXXXX android app build intermediates res merged release drawable-xhdpi node_modules_reactnativecalendars_src_calendar_img_previous.png: error: uncompiled PNG file passed as argument. due...
recently in the maintenance company s app, is written in react-native, which uses a number of plug-ins, such as react-native-camera, react-native-webview, react-native-modal, etc., most of these plug-ins only need to understand js to learn, encounter p...
in China, aurora is usually used for RN push, but now it is impossible to receive a push after killing the app process. Normal should be like this, but the domestic app seems to generally kill the process can also receive messages, a comparison appears ...
question: example: a string from the background is as follows: 5 now I want to form such a jsx, based on this string in order to highlight the number 5 , so wrap a Text : in the outer layer of 5 . <Text><Text>5< Text>< Text&...
in the source file Libraries react-native react-native-implementation.js of react-native, all modules are exported as follows: const ReactNative = { Components get AccessibilityInfo() { return require( AccessibilityInfo ); }, get Act...
babel-polyfill can make us happy to use es6 , es7 API , but often only part of these API are used in the project, and a babel-polyfill is compressed with a size of nearly 100k, which is really scary. for example, I want Promise to be used ...
AsyncStorage, is used in Android to store data, but every time you turn off APP, the data is gone when you open it, so find a solution? ...
problem description now more than half of my page will be covered by a pop-up keyboard. In fact, I don t need to enter it with a soft keyboard at all. I have an external code sweep gun what result do you expect? What is the error message actually s...
problem: < StatusBar > component is invalid. There is no description of the reaction at all: the project is initialized with expo. add: use the Expo.Constants.statusBarHeight method to get the height of the status bar, and then add an empty View t...
the four methods in the picture do not work even if they have been tried. Both command line startup and Xcode startup report the same error. Use the example from the official home page react-native init AwesomeProject ...
for example, I have the following high-level components HocAdd(1)(Hoc(Count)) so in the writing of high-order components, how do you want to merge multiple logical components ...
the default program entry for projects created using create-react-app is index.js,. The default home page is public index.html. But I want to do multiple web pages in the project, how can I associate index.js and index.html in the about directory? ...
under PHP 5.6.37 ubuntu14.04.1, sometimes the request will report this error: PHP Startup: Unable to load dynamic library usr lib php 20131226 redis.so - usr lib php 20131226 redis.so: undefined symbol: igbinary_serialize,. ...
now insert data into a table in mysql, and the primary key will be duplicated. The data sent will have a timestamp. When the data is repeated, the nearest one needs to be stored according to the timestamp. At a later stage, there will be millions of pie...
for example, the key-value pair is as follows: {2) the key-value pair is [2], 3, 3, and 4, respectively. how can it be transformed into this [{ m, v, v, m, m, b, b] how to transform it into this way [{ m, v, v, m, v, m,...
how do the three div of ABC realize BAC,CAB,CBA permutation without changing the structure ...
< H2 > Apache server < H2 > config file configuration is like this URL_HTML_SUFFIX => html , URL_CASE_INSENSITIVE => true, URL_MODEL => 2, URL_ROUTER_ON =>true, .htaccess file configuration is like this <IfModule mo...