🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

bobriln

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bobriln

Bobril Native

latest
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

Bobril Native

What is this?

This is reimagination of React Native in context of Bobril. It does not use anything from React Native except CSSLayout. It uses identical naming of basic elements Text and View.

Differences to Bobril

b.addRoot method can create only fullscreen nodes. Usage of b.style is mandatory for any styling. There are no classnames, but b.styleDef works (without pseudo classes). Lifecycle methods postInitDom, postUpdateDom, postUpdateDomEverytime are not called at all. Lifecycle method destroy has just 2 parameters (ctx and me). There is no b.getDomNode, it would have no use.

Compatibility

Built application is compatible with Android 4.4 (API 19) or better. Reason is that 4.4 is first version of Android with Chrome (modern fast browser) inside Webview.

How to start

  • install bobril-build (or upgrade to latest version)

    npm i bobril-build -g

  • install bobril native plugin to bobril-build

    bb plugins -i bb-bobriln-plugin

  • install JavaJDK and set JAVA_HOME enviromental variable

    for example: JAVA_HOME=c:\Program Files\Java\jdk1.8.0_92

  • install Android SDK and set ANDROID_HOME enviromental variable

    for example: ANDROID_HOME=c:\Program Files (x86)\Android\android-sdk\

    Inside Manager install: Android SDK Build-tools 24.0.1 and Android 7.0 (API 24) SDK Platform

  • in empty directory

    bb bobriln -init

    Shortcut for lazy writters:

    bb n -i

  • start bobril-build in interactive mode

    bb

  • point your browser to http://localhost:8080/bb

FAQs

Package last updated on 31 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts