Honestly, I have no idea, if this is the case then fantastic … I will just use WebView … very hard to google info on this …
Looks like Webview is only updated for 5.0 and above.
Also, what’s going on with that Onebox?
And WebView doesn’t exist anymore on Android Nougat, it’s just Chrome.
And you get a sexy Open this webview in Chrome without reloading the page.
Too bad no one has Android 7 yet.
Do you mean Chrome Custom Tabs? They’ve been available for a bit. You can see them in Twitter for Android or when you access pages through the Google app. According to this they work with Jellybean+ and Chrome 45+.
That is exactly what I want … would work very similar to the way the iOS version does … also we can warn in the app if people have a bad version of chrome of if chrome is not installed force them to.
I like this a lot.
Custom Tabs can even add Menu Entries? Holy Shit that’s cool.
New release is out with a brand new icon @ntadej
Biggest change is that @joffrey_jaffeux added the ability to reorder rows on long press.
Majority of the changes though are behind the scenes prepping us for the android release
Lovin’ the new icon! Very clean and elegant.
@sam great work on this! is it possible to run this through simulator on Xcode?
Sure it works fine on the simulator.
Clone project…
npm install
react-native run-ios
FYI I am just doing a quick version 5 patch to fix some issues where the app badge and notification counts were not updating properly.
In Android news, I have this chrome tab thing working, so all I have to do now is push notifications and decide on a background fetch policy.
Thanks, but, when I run the above command I get:
module.js:327
throw err;
^
Error: Cannot find module 'core-js/fn/array/values'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/Users/Kuyashi/Documents/Dev/discoursemobile/node_modules/react-native/packager/babelRegisterOnly.js:11:27)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
do I run the simulator in the root folder (/discoursemobile) ?
I have react-natvie cli installed .
can you paste the output of : node -v
?
@joffrey_jaffeux
v4.5.0
well it should be enough, react-native requires node > 4, I am on 6.5.0, so you might want to try to update node/npm. Not sure it would solve your issue, I’m kind of a beginner concerning node/npm.
As a bit of a shot in the dark, node made a change between v4 and v5 (actually between npm 2 / 3) to go from a nested dependency structure:
node_modules/dep1/node_modules/dep2/index.js
to a flat one
node_modules/dep2/index.js
(given dep1 depends on dep2)
Which sometimes means things aren’t in the place you expect them.
https://docs.npmjs.com/how-npm-works/npm3
So yeah upgrading npm’s probably the first thing to try.
Error remains after an upgrades of both node(6.5.0) and npm(3.10.3)
Where is the module.js
file located in the error?
Have you tried to delete the node_modules folder after updating node/npm ? and then run npm install
again
@joffrey_jaffeux many thanks - all working now.
I’d love to test it, what do you need from me?