Commit eb6973f9 authored by Marek Kotewicz's avatar Marek Kotewicz
Browse files

version 12

parent ccb0dd55
......@@ -90,7 +90,7 @@ android {
applicationId "com.nativesigner"
minSdkVersion 16
targetSdkVersion 22
versionCode 10
versionCode 12
versionName "1.0b"
ndk {
abiFilters "armeabi-v7a", "x86"
......
......@@ -493,7 +493,7 @@ __d(function(e,t,s,r){"use strict";Object.defineProperty(r,"__esModule",{value:!
__d(function(e,t,r,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var l=t(259),a=babelHelpers.interopRequireDefault(l),i=t(12),n=t(449),o=babelHelpers.interopRequireDefault(n),p=t(450),u=babelHelpers.interopRequireDefault(p),d=t(491),c=babelHelpers.interopRequireDefault(d),f=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return a.default.createElement(i.View,null,a.default.createElement(i.View,{style:b.row},a.default.createElement(u.default,{style:[o.default.icon,b.icon],seed:this.props.address?"0x"+this.props.address:""}),a.default.createElement(i.Text,{style:{marginTop:5,marginLeft:5}},this.props.name)),a.default.createElement(c.default,{address:this.props.address}))}}]),t}(l.Component);f.propTypes={name:l.PropTypes.string.isRequired,address:l.PropTypes.string},s.default=f;var b=i.StyleSheet.create({row:{flexDirection:"row"},icon:{width:30,height:30,borderRadius:15}})},490);
__d(function(e,t,r,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var l=t(259),a=babelHelpers.interopRequireDefault(l),n=t(12),p=t(449),o=babelHelpers.interopRequireDefault(p),u=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return a.default.createElement(n.Text,{selectable:!0,style:o.default.valueText},this.props.address?"0x"+this.props.address:"Unknown")}}]),t}(l.Component);u.propTypes={address:l.PropTypes.string},s.default=u},491);
__d(function(n,e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AccountConfirmPin=r.AccountSetPin=r.AccountChangePin=r.AccountEnterPin=void 0;var c=this,u=e(12),o=e(361),i=e(493),s=babelHelpers.interopRequireDefault(i),a=e(458),d=e(460);r.AccountEnterPin=(0,o.connect)(function(n){return{withConfirmation:!1}},function(n){return{onNextPressed:function(e){u.Keyboard.dismiss(),n((0,d.signHash)(e))}}})(s.default),r.AccountChangePin=(0,o.connect)(function(n){return{placeholder:"Current PIN",withConfirmation:!1}},function(n){return{onNextPressed:function(e){n((0,a.setOldPin)(e))}}})(s.default),r.AccountSetPin=(0,o.connect)(function(n){var e=n.accounts;return{placeholder:e.all.find(function(n){return n.address===e.selected.address})?"Enter new PIN":"Enter PIN"}},function(n){return{onNextPressed:function(e){n((0,a.setNewPin)(e))}}})(s.default),r.AccountConfirmPin=(0,o.connect)(function(n){var e=n.accounts;return{extra:{isNew:!e.all.find(function(n){return n.address===e.selected.address})},placeholder:"Confirm PIN"}},function(n){return{onNextPressed:function(e,t){var r=t.isNew;return regeneratorRuntime.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=3;break}return n((0,a.addAccount)(e)),t.abrupt("return");case 3:n((0,a.changePin)(e));case 4:case"end":return t.stop()}},null,c)}}})(s.default)},492);
__d(function(e,t,r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l=t(259),a=babelHelpers.interopRequireDefault(l),o=t(12),s=t(449),i=babelHelpers.interopRequireDefault(s),u=function(e){function t(){var e,r,n,l;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,o=Array(a),s=0;s<a;s++)o[s]=arguments[s];return r=n=babelHelpers.possibleConstructorReturn(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.state={pin:""},n.onNext=function(){var e=n.state.pin,t=n.props.extra;n.props.onNextPressed(e,t)},n.onChange=function(e){n.setState({pin:e})},l=r,babelHelpers.possibleConstructorReturn(n,l)}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return a.default.createElement(o.View,{style:i.default.view},a.default.createElement(o.View,{style:i.default.center},a.default.createElement(o.TextInput,{autoFocus:!0,clearTextOnFocus:!0,editable:!0,fontSize:24,keyboardType:"numeric",multiline:!1,autoCorrect:!1,numberOfLines:1,onChangeText:this.onChange,placeholder:this.props.placeholder,returnKeyType:"next",secureTextEntry:!0,style:i.default.pin,value:this.state.pin}),a.default.createElement(o.View,{style:[i.default.buttonContainer,p.button]},a.default.createElement(o.Button,{onPress:this.onNext,color:"green",title:"Next",accessibilityLabel:this.props.placeholder}))))}}]),t}(l.Component);u.propTypes={onNextPressed:l.PropTypes.func.isRequired,placeholder:l.PropTypes.string,extra:l.PropTypes.object},u.defaultProps={placeholder:"Enter PIN"},n.default=u;var p=o.StyleSheet.create({button:{marginTop:10,alignItems:"center",justifyContent:"center"}})},493);
__d(function(e,t,r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l=t(259),a=babelHelpers.interopRequireDefault(l),o=t(12),s=t(449),i=babelHelpers.interopRequireDefault(s),p=function(e){function t(){var e,r,n,l;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,o=Array(a),s=0;s<a;s++)o[s]=arguments[s];return r=n=babelHelpers.possibleConstructorReturn(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.state={pin:""},n.onNext=function(){var e=n.state.pin,t=n.props.extra;n.props.onNextPressed(e,t)},n.onChange=function(e){n.setState({pin:e})},l=r,babelHelpers.possibleConstructorReturn(n,l)}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return a.default.createElement(o.View,{style:i.default.view},a.default.createElement(o.KeyboardAvoidingView,{style:i.default.center,behavior:"padding"},a.default.createElement(o.TextInput,{autoFocus:!0,clearTextOnFocus:!0,editable:!0,fontSize:24,keyboardType:"numeric",multiline:!1,autoCorrect:!1,numberOfLines:1,onChangeText:this.onChange,placeholder:this.props.placeholder,returnKeyType:"next",secureTextEntry:!0,style:i.default.pin,value:this.state.pin}),a.default.createElement(o.View,{style:[i.default.buttonContainer,u.button]},a.default.createElement(o.Button,{onPress:this.onNext,color:"green",title:"Next",accessibilityLabel:this.props.placeholder}))))}}]),t}(l.Component);p.propTypes={onNextPressed:l.PropTypes.func.isRequired,placeholder:l.PropTypes.string,extra:l.PropTypes.object},p.defaultProps={placeholder:"Enter PIN"},n.default=p;var u=o.StyleSheet.create({button:{marginTop:10,alignItems:"center",justifyContent:"center"}})},493);
__d(function(e,n,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.QrViewTransaction=void 0;var r=n(361),a=n(474),o=babelHelpers.interopRequireDefault(a),s=function(e,n){return{text:e.signer.signedHash,view:!0}};i.QrViewTransaction=(0,r.connect)(s)(o.default)},494);
__d(function(e,t,n,u){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var r=t(361),o=t(398),a=t(496),c=babelHelpers.interopRequireDefault(a),i=(0,r.connect)(function(e){return{data:e.signer.data}},function(e){return{onNextButtonPressed:function(){o.Actions.accountEnterPin()}}})(c.default);u.default=i},495);
__d(function(e,t,r,s){"use strict";function n(e){for(var t=2;t<e.length;t+=2){var r=parseInt(e.substr(t,2),16);if(r<32||r>=128)return!1}return!0}function a(e){for(var t=e.toString(),r="",s=0;s<t.length;s+=2)r+=String.fromCharCode(parseInt(t.substr(s,2),16));return r}Object.defineProperty(s,"__esModule",{value:!0});var l=t(259),o=babelHelpers.interopRequireDefault(l),i=t(12),u=t(449),p=babelHelpers.interopRequireDefault(u),f=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return o.default.createElement(i.View,{style:p.default.view},o.default.createElement(i.Text,{style:p.default.hintText},"Data to sign"),o.default.createElement(i.Text,{style:p.default.valueText},n(this.props.data)?a(this.props.data):this.props.data),o.default.createElement(i.Button,{onPress:this.props.onNextButtonPressed,title:"Next",color:"gree",accessibilityLabel:"Enter Pin"}))}}]),t}(l.Component);f.propTypes={data:l.PropTypes.string.isRequired,onNextButtonPressed:l.PropTypes.func.isRequired},s.default=f},496);
......
Wxg]ňAK={^7sCC
\ No newline at end of file
$x[=
\ No newline at end of file
<resources>
<string name="app_name">NativeSigner</string>
<string name="app_name">Parity Signer</string>
</resources>
......@@ -3,49 +3,49 @@
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "blockies-6.png",
"filename" : "icon_2.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "blockies-4.png",
"filename" : "icon_3.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "blockies-3.png",
"filename" : "icon_4.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "blockies-2.png",
"filename" : "icon_5.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "blockies.png",
"filename" : "icon_6.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "blockies-5.png",
"filename" : "icon_7-1.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "blockies-1.png",
"filename" : "icon_7.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "blockies-7.png",
"filename" : "icon_1.png",
"scale" : "3x"
}
],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment