cordova-plugin-unvired-universal-sdk 1.0.1
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/README.md +59 -0
- package/aar/README.md +3 -0
- package/aar/Unvired_Kernel_Android.aar +0 -0
- package/aar/Unvired_Kernel_HTML5_Android.aar +0 -0
- package/package.json +69 -0
- package/plugin.xml +23 -0
- package/src/android/build.gradle +35 -0
- package/src/android/xml/provider_paths.xml +21 -0
- package/src/browser/UnviredPluginProxy.js +2430 -0
- package/src/browser/bootstrap.min.js +17 -0
- package/src/browser/codemirror.js +9755 -0
- package/src/browser/jquery-3.2.1.js +10253 -0
- package/src/browser/sql-wasm.wasm +0 -0
- package/src/browser/sql.js +203 -0
- package/src/browser/src_index_worker_js.unvired-db-worker.js +231 -0
- package/src/browser/unvired-db-worker.js +166 -0
- package/src/browser/vendors-node_modules_comlink_dist_esm_comlink_mjs.unvired-db-worker.js +22 -0
- package/src/ios/AttachmentPlugin.h +21 -0
- package/src/ios/AttachmentPlugin.m +180 -0
- package/src/ios/DataStructureHelper.h +28 -0
- package/src/ios/DataStructureHelper.m +188 -0
- package/src/ios/IOSAuthPlugin.h +14 -0
- package/src/ios/IOSAuthPlugin.m +13 -0
- package/src/ios/IOSDatabasePlugin.h +28 -0
- package/src/ios/IOSDatabasePlugin.m +253 -0
- package/src/ios/IOSFWSettingsPlugin.h +65 -0
- package/src/ios/IOSFWSettingsPlugin.m +363 -0
- package/src/ios/IOSLoggerPlugin.h +34 -0
- package/src/ios/IOSLoggerPlugin.m +198 -0
- package/src/ios/IOSLoginPlugin.h +29 -0
- package/src/ios/IOSLoginPlugin.m +480 -0
- package/src/ios/IOSProxyPlugin.h +21 -0
- package/src/ios/IOSProxyPlugin.m +172 -0
- package/src/ios/IOSSyncEnginePlugin.h +54 -0
- package/src/ios/IOSSyncEnginePlugin.m +847 -0
- package/src/ios/PluginConstants.h +195 -0
- package/src/ios/PluginHelper.h +29 -0
- package/src/ios/PluginHelper.m +74 -0
- package/src/ios/SyncHTML5Response.h +50 -0
- package/src/ios/SyncHTML5Response.m +68 -0
- package/www/applicationMeta/applicationMetadataParser.ts +285 -0
- package/www/applicationMeta/fieldConstants.ts +92 -0
- package/www/attachment/attachmentHelper.ts +326 -0
- package/www/attachment/attachmentQHelper.ts +158 -0
- package/www/attachment/attachmentService.ts +259 -0
- package/www/authenticationService.ts +746 -0
- package/www/bootstrap.min.js +17 -0
- package/www/codemirror.js +9755 -0
- package/www/database/appDatabaseManager.ts +54 -0
- package/www/database/databaseManager.ts +616 -0
- package/www/helper/dbCreateTablesManager.ts +354 -0
- package/www/helper/frameworkHelper.ts +127 -0
- package/www/helper/frameworkSettingsManager.ts +287 -0
- package/www/helper/getMessageTimerManager.ts +81 -0
- package/www/helper/httpConnection.ts +1051 -0
- package/www/helper/logger.ts +312 -0
- package/www/helper/notificationListnerHelper.ts +56 -0
- package/www/helper/passcodeGenerator.ts +61 -0
- package/www/helper/reconciler.ts +1062 -0
- package/www/helper/serverResponseHandler.ts +677 -0
- package/www/helper/serviceConstants.ts +254 -0
- package/www/helper/settingsHelper.ts +386 -0
- package/www/helper/status.ts +83 -0
- package/www/helper/syncInputDataManager.ts +205 -0
- package/www/helper/unviredAccount.ts +104 -0
- package/www/helper/unviredAccountManager.ts +120 -0
- package/www/helper/urlService.ts +43 -0
- package/www/helper/userSettingsManager.ts +172 -0
- package/www/helper/utils.ts +110 -0
- package/www/inbox/downloadMessageService.ts +270 -0
- package/www/inbox/inboxHelper.ts +132 -0
- package/www/inbox/inboxService.ts +223 -0
- package/www/jquery-3.2.1.js +10253 -0
- package/www/kernel.js +1380 -0
- package/www/outbox/outboxAttachmentManager.ts +152 -0
- package/www/outbox/outboxHelper.ts +67 -0
- package/www/outbox/outboxService.ts +519 -0
- package/www/sql-wasm.wasm +0 -0
- package/www/sql.js +209 -0
- package/www/subtract.ts +5 -0
- package/www/sum.ts +4 -0
- package/www/syncEngine.ts +687 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//
|
|
2
|
+
// IOSSyncEnginePlugin.h
|
|
3
|
+
// HTML5_KERNEL_iOS
|
|
4
|
+
//
|
|
5
|
+
// Created by Srinidhi Anand Rao on 03/10/12.
|
|
6
|
+
// Copyright (c) 2012 Unvired Software India Pvt. Ltd. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <UIKit/UIKit.h>
|
|
10
|
+
#import <Cordova/CDV.h>
|
|
11
|
+
|
|
12
|
+
@interface IOSSyncEnginePlugin : CDVPlugin
|
|
13
|
+
|
|
14
|
+
#pragma mark - S Y N C
|
|
15
|
+
|
|
16
|
+
- (void)submitInSync:(CDVInvokedUrlCommand *)command;
|
|
17
|
+
|
|
18
|
+
#pragma mark - A S Y N C
|
|
19
|
+
|
|
20
|
+
- (void)submitInASync:(CDVInvokedUrlCommand *)command;
|
|
21
|
+
|
|
22
|
+
#pragma mark - O T H E R S
|
|
23
|
+
|
|
24
|
+
- (void)getMessages:(CDVInvokedUrlCommand *)command;
|
|
25
|
+
|
|
26
|
+
- (void)registerNotifListener:(CDVInvokedUrlCommand *)command;
|
|
27
|
+
|
|
28
|
+
- (void)unRegisterNotifListener:(CDVInvokedUrlCommand *)command;
|
|
29
|
+
|
|
30
|
+
- (void)isInOutBox:(CDVInvokedUrlCommand *)command;
|
|
31
|
+
|
|
32
|
+
- (void)outBoxItemCount:(CDVInvokedUrlCommand *)command;
|
|
33
|
+
|
|
34
|
+
- (void)isInSentItem:(CDVInvokedUrlCommand *)command;
|
|
35
|
+
|
|
36
|
+
- (void)sentItemCount:(CDVInvokedUrlCommand *)command;
|
|
37
|
+
|
|
38
|
+
- (void)inBoxItemCount:(CDVInvokedUrlCommand *)command;
|
|
39
|
+
|
|
40
|
+
- (void)getSynchronizationState:(CDVInvokedUrlCommand *)command;
|
|
41
|
+
|
|
42
|
+
- (void)startInboxHandler:(CDVInvokedUrlCommand *)command;
|
|
43
|
+
|
|
44
|
+
- (void)startDataSender:(CDVInvokedUrlCommand *)command;
|
|
45
|
+
|
|
46
|
+
- (void)lockDataSender:(CDVInvokedUrlCommand *)command;
|
|
47
|
+
|
|
48
|
+
- (void)unlockDataSender:(CDVInvokedUrlCommand *)command;
|
|
49
|
+
|
|
50
|
+
- (void)removeOutObjectBasedOnLid:(CDVInvokedUrlCommand *)command;
|
|
51
|
+
|
|
52
|
+
- (void)refreshJWTToken:(CDVInvokedUrlCommand *)command;
|
|
53
|
+
|
|
54
|
+
@end
|