File tree Expand file tree Collapse file tree
android/src/main/kotlin/com/microsoft/reactnativedualscreen/dualscreen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2020 Microsoft
3+ Copyright (c) 2020 Evgeny Utkin
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 55[ ![ typings included] ( https://img.shields.io/badge/typings-included-brightgreen.svg?t=1495378566925 )] ( package.json )
66[ ![ npm] ( https://img.shields.io/npm/l/express.svg )] ( https://www.npmjs.com/package/react-native-dual-screen )
77
8- React Native package for dual screen devices support (Surface Duo). Surface Neo support is coming
8+ Unofficial React Native package for dual screen devices support (Surface Duo)
99
1010![ Surface Duo Demo] ( ./sample.gif )
1111
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import android.view.WindowManager
77import com.facebook.react.bridge.*
88import com.facebook.react.bridge.Arguments.createMap
99import com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEmitter
10- import thewulf7 .device.display.DisplayMask
10+ import com.microsoft .device.display.DisplayMask
1111
1212
1313class DualScreenManager constructor(context : ReactApplicationContext ) : ReactContextBaseJavaModule(context) {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import android.graphics.Canvas
55import android.graphics.Paint
66import android.graphics.Rect
77import android.view.View
8- import thewulf7 .device.display.DisplayMask
8+ import com.microsoft .device.display.DisplayMask
99
1010class Hinge (context : Context ) : View(context) {
1111 private val mDisplayMask: DisplayMask
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-dual-screen" ,
3- "version" : " 0.0.3 " ,
4- "description" : " React Native package for dual screen devices support (Surface Duo, Neo)" ,
3+ "version" : " 0.0.4 " ,
4+ "description" : " Unofficial React Native package for dual screen devices support (Surface Duo, Neo)" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
77 "keywords" : [
88 " react-native"
99 ],
10- "author" : " Evgenii Utkin (Microsoft) " ,
10+ "author" : " Evgenii Utkin" ,
1111 "license" : " MIT" ,
1212 "scripts" : {
1313 "init:package" : " cd examples && npm i && npm run install:pods" ,
You can’t perform that action at this time.
0 commit comments