@onairos/react-native 1.0.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/api/index.js +34 -0
- package/lib/commonjs/api/index.js.map +1 -0
- package/lib/commonjs/components/OnairosButton.js +69 -122
- package/lib/commonjs/components/OnairosButton.js.map +1 -1
- package/lib/commonjs/components/Overlay.js +173 -197
- package/lib/commonjs/components/Overlay.js.map +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +8 -5
- package/lib/commonjs/components/UniversalOnboarding.js.map +1 -1
- package/lib/commonjs/constants/index.js +13 -9
- package/lib/commonjs/constants/index.js.map +1 -1
- package/lib/commonjs/types.js +2 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/commonjs/utils/encryption.js +32 -0
- package/lib/commonjs/utils/encryption.js.map +1 -0
- package/lib/module/api/index.js +27 -0
- package/lib/module/api/index.js.map +1 -0
- package/lib/module/components/OnairosButton.js +71 -123
- package/lib/module/components/OnairosButton.js.map +1 -1
- package/lib/module/components/Overlay.js +175 -198
- package/lib/module/components/Overlay.js.map +1 -1
- package/lib/module/components/UniversalOnboarding.js +8 -5
- package/lib/module/components/UniversalOnboarding.js.map +1 -1
- package/lib/module/constants/index.js +13 -9
- package/lib/module/constants/index.js.map +1 -1
- package/lib/module/types.js +2 -0
- package/lib/module/types.js.map +1 -0
- package/lib/module/utils/encryption.js +24 -0
- package/lib/module/utils/encryption.js.map +1 -0
- package/package.json +1 -1
- package/src/api/index.ts +33 -0
- package/src/components/OnairosButton.tsx +74 -131
- package/src/components/Overlay.tsx +190 -185
- package/src/components/UniversalOnboarding.tsx +7 -4
- package/src/constants/index.ts +12 -8
- package/src/types/index.ts +34 -16
- package/src/types.ts +29 -0
- package/src/utils/encryption.ts +25 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getServerPublicKey = exports.encryptModelKey = void 0;
|
|
7
|
+
var _reactNativeRsaNative = require("react-native-rsa-native");
|
|
8
|
+
var _api = require("../api");
|
|
9
|
+
const encryptModelKey = async (publicKey, modelKey) => {
|
|
10
|
+
try {
|
|
11
|
+
const encrypted = await _reactNativeRsaNative.RSA.encrypt(modelKey, publicKey);
|
|
12
|
+
return encrypted;
|
|
13
|
+
} catch (error) {
|
|
14
|
+
console.error('Error encrypting model key:', error);
|
|
15
|
+
throw error;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
exports.encryptModelKey = encryptModelKey;
|
|
19
|
+
const getServerPublicKey = async () => {
|
|
20
|
+
try {
|
|
21
|
+
const response = await _api.onairosApi.get('public/getPublicKey');
|
|
22
|
+
if (response && response.publicKey) {
|
|
23
|
+
return response.publicKey;
|
|
24
|
+
}
|
|
25
|
+
throw new Error('Server response does not contain publicKey field');
|
|
26
|
+
} catch (error) {
|
|
27
|
+
console.error('Error getting server public key:', error);
|
|
28
|
+
throw error;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.getServerPublicKey = getServerPublicKey;
|
|
32
|
+
//# sourceMappingURL=encryption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNativeRsaNative","require","_api","encryptModelKey","publicKey","modelKey","encrypted","RSA","encrypt","error","console","exports","getServerPublicKey","response","onairosApi","get","Error"],"sourceRoot":"..\\..\\..\\src","sources":["utils/encryption.ts"],"mappings":";;;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AACA,IAAAC,IAAA,GAAAD,OAAA;AAEO,MAAME,eAAe,GAAG,MAAAA,CAAOC,SAAiB,EAAEC,QAAgB,KAAsB;EAC7F,IAAI;IACF,MAAMC,SAAS,GAAG,MAAMC,yBAAG,CAACC,OAAO,CAACH,QAAQ,EAAED,SAAS,CAAC;IACxD,OAAOE,SAAS;EAClB,CAAC,CAAC,OAAOG,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAAC,6BAA6B,EAAEA,KAAK,CAAC;IACnD,MAAMA,KAAK;EACb;AACF,CAAC;AAACE,OAAA,CAAAR,eAAA,GAAAA,eAAA;AAEK,MAAMS,kBAAkB,GAAG,MAAAA,CAAA,KAA6B;EAC7D,IAAI;IACF,MAAMC,QAAQ,GAAG,MAAMC,eAAU,CAACC,GAAG,CAAC,qBAAqB,CAAC;IAC5D,IAAIF,QAAQ,IAAIA,QAAQ,CAACT,SAAS,EAAE;MAClC,OAAOS,QAAQ,CAACT,SAAS;IAC3B;IACA,MAAM,IAAIY,KAAK,CAAC,kDAAkD,CAAC;EACrE,CAAC,CAAC,OAAOP,KAAK,EAAE;IACdC,OAAO,CAACD,KAAK,CAAC,kCAAkC,EAAEA,KAAK,CAAC;IACxD,MAAMA,KAAK;EACb;AACF,CAAC;AAACE,OAAA,CAAAC,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import axios from 'axios';
|
|
2
|
+
const BASE_URL = 'https://api2.onairos.uk';
|
|
3
|
+
class OnairosApi {
|
|
4
|
+
constructor(baseUrl = BASE_URL) {
|
|
5
|
+
this.baseUrl = baseUrl;
|
|
6
|
+
}
|
|
7
|
+
async get(endpoint) {
|
|
8
|
+
try {
|
|
9
|
+
const response = await axios.get(`${this.baseUrl}/${endpoint}`);
|
|
10
|
+
return response.data;
|
|
11
|
+
} catch (error) {
|
|
12
|
+
console.error('API GET Error:', error);
|
|
13
|
+
throw error;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
async post(endpoint, data) {
|
|
17
|
+
try {
|
|
18
|
+
const response = await axios.post(`${this.baseUrl}/${endpoint}`, data);
|
|
19
|
+
return response.data;
|
|
20
|
+
} catch (error) {
|
|
21
|
+
console.error('API POST Error:', error);
|
|
22
|
+
throw error;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export const onairosApi = new OnairosApi();
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["axios","BASE_URL","OnairosApi","constructor","baseUrl","get","endpoint","response","data","error","console","post","onairosApi"],"sourceRoot":"..\\..\\..\\src","sources":["api/index.ts"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,MAAMC,QAAQ,GAAG,yBAAyB;AAE1C,MAAMC,UAAU,CAAC;EAGfC,WAAWA,CAACC,OAAe,GAAGH,QAAQ,EAAE;IACtC,IAAI,CAACG,OAAO,GAAGA,OAAO;EACxB;EAEA,MAAMC,GAAGA,CAACC,QAAgB,EAAE;IAC1B,IAAI;MACF,MAAMC,QAAQ,GAAG,MAAMP,KAAK,CAACK,GAAG,CAAC,GAAG,IAAI,CAACD,OAAO,IAAIE,QAAQ,EAAE,CAAC;MAC/D,OAAOC,QAAQ,CAACC,IAAI;IACtB,CAAC,CAAC,OAAOC,KAAK,EAAE;MACdC,OAAO,CAACD,KAAK,CAAC,gBAAgB,EAAEA,KAAK,CAAC;MACtC,MAAMA,KAAK;IACb;EACF;EAEA,MAAME,IAAIA,CAACL,QAAgB,EAAEE,IAAS,EAAE;IACtC,IAAI;MACF,MAAMD,QAAQ,GAAG,MAAMP,KAAK,CAACW,IAAI,CAAC,GAAG,IAAI,CAACP,OAAO,IAAIE,QAAQ,EAAE,EAAEE,IAAI,CAAC;MACtE,OAAOD,QAAQ,CAACC,IAAI;IACtB,CAAC,CAAC,OAAOC,KAAK,EAAE;MACdC,OAAO,CAACD,KAAK,CAAC,iBAAiB,EAAEA,KAAK,CAAC;MACvC,MAAMA,KAAK;IACb;EACF;AACF;AAEA,OAAO,MAAMG,UAAU,GAAG,IAAIV,UAAU,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,157 +1,105 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import { TouchableOpacity,
|
|
3
|
-
import Icon from 'react-native-vector-icons/MaterialIcons';
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import { TouchableOpacity, Text, StyleSheet, View } from 'react-native';
|
|
4
3
|
import { UniversalOnboarding } from './UniversalOnboarding';
|
|
5
|
-
import { DataRequestModal } from './DataRequestModal';
|
|
6
|
-
import { useCredentials } from '../hooks/useCredentials';
|
|
7
|
-
// import { validateCredentials } from '../utils/auth';
|
|
8
|
-
// import { COLORS } from '../constants';
|
|
9
|
-
|
|
10
4
|
export const OnairosButton = ({
|
|
5
|
+
returnLink,
|
|
6
|
+
prefillUrl,
|
|
11
7
|
AppName,
|
|
8
|
+
buttonType = 'normal',
|
|
12
9
|
requestData,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
buttonWidth = 180,
|
|
11
|
+
buttonHeight,
|
|
12
|
+
hasStroke = false,
|
|
13
|
+
enabled = true,
|
|
14
|
+
buttonForm = 'default',
|
|
15
|
+
onRejection,
|
|
17
16
|
onResolved,
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
preCheck,
|
|
18
|
+
color,
|
|
19
|
+
swerv = false,
|
|
20
20
|
debug = false,
|
|
21
|
-
|
|
21
|
+
preferredPlatform,
|
|
22
|
+
testMode = false
|
|
22
23
|
}) => {
|
|
23
24
|
const [showOnboarding, setShowOnboarding] = useState(false);
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
const [loading, setLoading] = useState(false);
|
|
31
|
-
const handlePress = useCallback(async () => {
|
|
32
|
-
setLoading(true);
|
|
33
|
-
try {
|
|
34
|
-
const hasExisting = await hasCredentials();
|
|
35
|
-
if (!hasExisting) {
|
|
36
|
-
setShowOnboarding(true);
|
|
25
|
+
const handlePress = async () => {
|
|
26
|
+
if (!enabled) return;
|
|
27
|
+
if (preCheck) {
|
|
28
|
+
const shouldProceed = await preCheck();
|
|
29
|
+
if (!shouldProceed) {
|
|
30
|
+
onRejection === null || onRejection === void 0 || onRejection();
|
|
37
31
|
return;
|
|
38
32
|
}
|
|
39
|
-
const credentials = await getCredentials();
|
|
40
|
-
if (!credentials) {
|
|
41
|
-
setShowOnboarding(true);
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
const validationResult = await validateCredentials(credentials.username);
|
|
45
|
-
if (!validationResult.isValid) {
|
|
46
|
-
setShowOnboarding(true);
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// If we have valid credentials, show data request modal
|
|
51
|
-
setShowDataRequest(true);
|
|
52
|
-
} catch (error) {
|
|
53
|
-
console.error('Error in button press:', error);
|
|
54
|
-
setShowOnboarding(true);
|
|
55
|
-
} finally {
|
|
56
|
-
setLoading(false);
|
|
57
33
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
onResolved('https://api2.onairos.uk', credentials.accessToken, credentials);
|
|
64
|
-
}
|
|
65
|
-
setShowDataRequest(false);
|
|
66
|
-
} catch (error) {
|
|
67
|
-
console.error('Error handling data request accept:', error);
|
|
34
|
+
if (buttonForm === 'signup') {
|
|
35
|
+
setShowOnboarding(true);
|
|
36
|
+
} else {
|
|
37
|
+
// Handle login flow
|
|
38
|
+
// TODO: Implement login flow according to account.md
|
|
68
39
|
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
const callback = params.get('callback');
|
|
80
|
-
if (nonce && callback) {
|
|
81
|
-
// Process authentication
|
|
82
|
-
setShowOnboarding(false);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
Linking.addEventListener('url', handleDeepLink);
|
|
87
|
-
return () => {
|
|
88
|
-
// Cleanup deep linking
|
|
89
|
-
// Note: Remove event listener based on RN version
|
|
90
|
-
// if (Platform.OS === 'android') {
|
|
91
|
-
// Linking.removeEventListener('url', handleDeepLink);
|
|
92
|
-
// }
|
|
93
|
-
};
|
|
94
|
-
}, []);
|
|
95
|
-
const buttonStyles = [styles.button, buttonType === 'pill' ? styles.pillButton : styles.circleButton, {
|
|
40
|
+
};
|
|
41
|
+
const handleOnboardingComplete = (apiUrl, token, data) => {
|
|
42
|
+
setShowOnboarding(false);
|
|
43
|
+
onResolved === null || onResolved === void 0 || onResolved(apiUrl, token, data);
|
|
44
|
+
};
|
|
45
|
+
const buttonStyle = [styles.button, buttonType === 'pill' && styles.pillButton, hasStroke && styles.strokedButton, {
|
|
46
|
+
width: buttonWidth
|
|
47
|
+
}, buttonHeight && {
|
|
48
|
+
height: buttonHeight
|
|
49
|
+
}, color && {
|
|
96
50
|
backgroundColor: color
|
|
97
|
-
}];
|
|
98
|
-
|
|
99
|
-
|
|
51
|
+
}, swerv && styles.swervButton];
|
|
52
|
+
const textStyle = [styles.buttonText, hasStroke && styles.strokedButtonText, color && styles.customColorText];
|
|
53
|
+
return /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
54
|
+
style: buttonStyle,
|
|
100
55
|
onPress: handlePress,
|
|
101
|
-
disabled:
|
|
102
|
-
}, /*#__PURE__*/React.createElement(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
color: "white"
|
|
106
|
-
}), buttonType === 'pill' && /*#__PURE__*/React.createElement(Text, {
|
|
107
|
-
style: styles.buttonText
|
|
108
|
-
}, "Connect with Onairos")), /*#__PURE__*/React.createElement(UniversalOnboarding, {
|
|
56
|
+
disabled: !enabled
|
|
57
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
58
|
+
style: textStyle
|
|
59
|
+
}, AppName)), /*#__PURE__*/React.createElement(UniversalOnboarding, {
|
|
109
60
|
visible: showOnboarding,
|
|
110
61
|
onClose: () => setShowOnboarding(false),
|
|
111
62
|
AppName: AppName,
|
|
112
63
|
requestData: requestData,
|
|
113
64
|
returnLink: returnLink,
|
|
114
|
-
onComplete:
|
|
115
|
-
|
|
65
|
+
onComplete: handleOnboardingComplete,
|
|
66
|
+
preferredPlatform: preferredPlatform,
|
|
116
67
|
debug: debug,
|
|
117
|
-
test:
|
|
118
|
-
}), /*#__PURE__*/React.createElement(DataRequestModal, {
|
|
119
|
-
visible: showDataRequest,
|
|
120
|
-
onClose: () => setShowDataRequest(false),
|
|
121
|
-
onAccept: handleDataRequestAccept,
|
|
122
|
-
requestData: requestData,
|
|
123
|
-
AppName: AppName
|
|
68
|
+
test: testMode
|
|
124
69
|
}));
|
|
125
70
|
};
|
|
126
71
|
const styles = StyleSheet.create({
|
|
127
72
|
button: {
|
|
73
|
+
backgroundColor: '#000',
|
|
74
|
+
paddingVertical: 12,
|
|
75
|
+
paddingHorizontal: 24,
|
|
76
|
+
borderRadius: 8,
|
|
128
77
|
alignItems: 'center',
|
|
129
|
-
justifyContent: 'center'
|
|
130
|
-
elevation: 3,
|
|
131
|
-
shadowColor: '#000',
|
|
132
|
-
shadowOffset: {
|
|
133
|
-
width: 0,
|
|
134
|
-
height: 2
|
|
135
|
-
},
|
|
136
|
-
shadowOpacity: 0.25,
|
|
137
|
-
shadowRadius: 3.84
|
|
138
|
-
},
|
|
139
|
-
circleButton: {
|
|
140
|
-
width: 60,
|
|
141
|
-
height: 60,
|
|
142
|
-
borderRadius: 30
|
|
78
|
+
justifyContent: 'center'
|
|
143
79
|
},
|
|
144
80
|
pillButton: {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
81
|
+
borderRadius: 20
|
|
82
|
+
},
|
|
83
|
+
strokedButton: {
|
|
84
|
+
backgroundColor: 'transparent',
|
|
85
|
+
borderWidth: 1,
|
|
86
|
+
borderColor: '#000'
|
|
87
|
+
},
|
|
88
|
+
swervButton: {
|
|
89
|
+
transform: [{
|
|
90
|
+
rotate: '-2deg'
|
|
91
|
+
}]
|
|
149
92
|
},
|
|
150
93
|
buttonText: {
|
|
151
|
-
color: '
|
|
152
|
-
marginLeft: 8,
|
|
94
|
+
color: '#fff',
|
|
153
95
|
fontSize: 16,
|
|
154
96
|
fontWeight: '600'
|
|
97
|
+
},
|
|
98
|
+
strokedButtonText: {
|
|
99
|
+
color: '#000'
|
|
100
|
+
},
|
|
101
|
+
customColorText: {
|
|
102
|
+
color: '#fff'
|
|
155
103
|
}
|
|
156
104
|
});
|
|
157
105
|
//# sourceMappingURL=OnairosButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","useState","TouchableOpacity","Text","StyleSheet","View","UniversalOnboarding","OnairosButton","returnLink","prefillUrl","AppName","buttonType","requestData","buttonWidth","buttonHeight","hasStroke","enabled","buttonForm","onRejection","onResolved","preCheck","color","swerv","debug","preferredPlatform","testMode","showOnboarding","setShowOnboarding","handlePress","shouldProceed","handleOnboardingComplete","apiUrl","token","data","buttonStyle","styles","button","pillButton","strokedButton","width","height","backgroundColor","swervButton","textStyle","buttonText","strokedButtonText","customColorText","createElement","style","onPress","disabled","visible","onClose","onComplete","test","create","paddingVertical","paddingHorizontal","borderRadius","alignItems","justifyContent","borderWidth","borderColor","transform","rotate","fontSize","fontWeight"],"sourceRoot":"..\\..\\..\\src","sources":["components/OnairosButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,gBAAgB,EAAEC,IAAI,EAAEC,UAAU,EAAEC,IAAI,QAAoB,cAAc;AACnF,SAASC,mBAAmB,QAAQ,uBAAuB;AAI3D,OAAO,MAAMC,aAA2C,GAAGA,CAAC;EAC1DC,UAAU;EACVC,UAAU;EACVC,OAAO;EACPC,UAAU,GAAG,QAAQ;EACrBC,WAAW;EACXC,WAAW,GAAG,GAAG;EACjBC,YAAY;EACZC,SAAS,GAAG,KAAK;EACjBC,OAAO,GAAG,IAAI;EACdC,UAAU,GAAG,SAAS;EACtBC,WAAW;EACXC,UAAU;EACVC,QAAQ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