@igaworks/adbrix-react-native-sdk 1.0.3 → 1.1.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +81 -26
  2. package/adbrix-react-native-sdk.podspec +1 -1
  3. package/android/build.gradle +1 -1
  4. package/package.json +1 -1
  5. package/example/.bundle/config +0 -2
  6. package/example/.watchmanconfig +0 -1
  7. package/example/Gemfile +0 -10
  8. package/example/README.md +0 -106
  9. package/example/android/README.md +0 -24
  10. package/example/android/app/build.gradle +0 -128
  11. package/example/android/app/debug.keystore +0 -0
  12. package/example/android/app/proguard-rules.pro +0 -10
  13. package/example/android/app/src/debug/AndroidManifest.xml +0 -9
  14. package/example/android/app/src/main/AndroidManifest.xml +0 -34
  15. package/example/android/app/src/main/ic_launcher-playstore.png +0 -0
  16. package/example/android/app/src/main/java/igaworks/adbrixreactnativesdk/example/MainActivity.kt +0 -28
  17. package/example/android/app/src/main/java/igaworks/adbrixreactnativesdk/example/MainApplication.kt +0 -44
  18. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
  19. package/example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
  20. package/example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
  21. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
  22. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp +0 -0
  23. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
  24. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
  25. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp +0 -0
  26. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
  27. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
  28. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp +0 -0
  29. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
  30. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
  31. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp +0 -0
  32. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
  33. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
  34. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp +0 -0
  35. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
  36. package/example/android/app/src/main/res/values/ic_launcher_background.xml +0 -4
  37. package/example/android/app/src/main/res/values/strings.xml +0 -3
  38. package/example/android/app/src/main/res/values/styles.xml +0 -9
  39. package/example/android/build.gradle +0 -21
  40. package/example/android/gradle.properties +0 -39
  41. package/example/android/settings.gradle +0 -6
  42. package/example/app.json +0 -4
  43. package/example/babel.config.js +0 -4
  44. package/example/index.js +0 -5
  45. package/example/ios/.xcode.env +0 -11
  46. package/example/ios/AdbrixReactNativeSdkExample/AppDelegate.swift +0 -53
  47. package/example/ios/AdbrixReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  48. package/example/ios/AdbrixReactNativeSdkExample/Images.xcassets/Contents.json +0 -6
  49. package/example/ios/AdbrixReactNativeSdkExample/Info.plist +0 -62
  50. package/example/ios/AdbrixReactNativeSdkExample/LaunchScreen.storyboard +0 -47
  51. package/example/ios/AdbrixReactNativeSdkExample/PrivacyInfo.xcprivacy +0 -37
  52. package/example/ios/AdbrixReactNativeSdkExample.xcodeproj/project.pbxproj +0 -488
  53. package/example/ios/AdbrixReactNativeSdkExample.xcodeproj/xcshareddata/xcschemes/AdbrixReactNativeSdkExample.xcscheme +0 -88
  54. package/example/ios/AdbrixReactNativeSdkExample.xcworkspace/contents.xcworkspacedata +0 -10
  55. package/example/ios/Podfile +0 -35
  56. package/example/ios/Podfile.lock +0 -1821
  57. package/example/jest.config.js +0 -3
  58. package/example/metro.config.js +0 -27
  59. package/example/package.json +0 -33
  60. package/example/react-native.config.js +0 -21
  61. package/example/src/App.tsx +0 -755
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <resources>
3
- <color name="ic_launcher_background">#FFFFFF</color>
4
- </resources>
@@ -1,3 +0,0 @@
1
- <resources>
2
- <string name="app_name">AdbrixReactNativeSdkExample</string>
3
- </resources>
@@ -1,9 +0,0 @@
1
- <resources>
2
-
3
- <!-- Base application theme. -->
4
- <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
5
- <!-- Customize your theme here. -->
6
- <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
7
- </style>
8
-
9
- </resources>
@@ -1,21 +0,0 @@
1
- buildscript {
2
- ext {
3
- buildToolsVersion = "35.0.0"
4
- minSdkVersion = 24
5
- compileSdkVersion = 35
6
- targetSdkVersion = 35
7
- ndkVersion = "27.1.12297006"
8
- kotlinVersion = "1.9.10"
9
- }
10
- repositories {
11
- google()
12
- mavenCentral()
13
- }
14
- dependencies {
15
- classpath("com.android.tools.build:gradle")
16
- classpath("com.facebook.react:react-native-gradle-plugin")
17
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
18
- }
19
- }
20
-
21
- apply plugin: "com.facebook.react.rootproject"
@@ -1,39 +0,0 @@
1
- # Project-wide Gradle settings.
2
-
3
- # IDE (e.g. Android Studio) users:
4
- # Gradle settings configured through the IDE *will override*
5
- # any settings specified in this file.
6
-
7
- # For more details on how to configure your build environment visit
8
- # http://www.gradle.org/docs/current/userguide/build_environment.html
9
-
10
- # Specifies the JVM arguments used for the daemon process.
11
- # The setting is particularly useful for tweaking memory settings.
12
- # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13
- org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
14
-
15
- # When configured, Gradle will run in incubating parallel mode.
16
- # This option should only be used with decoupled projects. More details, visit
17
- # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18
- # org.gradle.parallel=true
19
-
20
- # AndroidX package structure to make it clearer which packages are bundled with the
21
- # Android operating system, and which are packaged with your app's APK
22
- # https://developer.android.com/topic/libraries/support-library/androidx-rn
23
- android.useAndroidX=true
24
-
25
- # Use this property to specify which architecture you want to build.
26
- # You can also override it from the CLI using
27
- # ./gradlew <task> -PreactNativeArchitectures=x86_64
28
- reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
29
-
30
- # Use this property to enable support to the new architecture.
31
- # This will allow you to use TurboModules and the Fabric render in
32
- # your application. You should enable this flag either if you want
33
- # to write custom TurboModules/Fabric components OR use libraries that
34
- # are providing them.
35
- newArchEnabled=true
36
-
37
- # Use this property to enable or disable the Hermes JS engine.
38
- # If set to false, you will be using JSC instead.
39
- hermesEnabled=false
@@ -1,6 +0,0 @@
1
- pluginManagement { includeBuild("../../node_modules/@react-native/gradle-plugin") }
2
- plugins { id("com.facebook.react.settings") }
3
- extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
4
- rootProject.name = 'igaworks.adbrixreactnativesdk.example'
5
- include ':app'
6
- includeBuild('../../node_modules/@react-native/gradle-plugin')
package/example/app.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "name": "AdbrixReactNativeSdkExample",
3
- "displayName": "AdbrixReactNativeSdkExample"
4
- }
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- presets: ['module:@react-native/babel-preset'],
3
- plugins: [],
4
- };
package/example/index.js DELETED
@@ -1,5 +0,0 @@
1
- import { AppRegistry } from 'react-native';
2
- import App from './src/App';
3
- import { name as appName } from './app.json';
4
-
5
- AppRegistry.registerComponent(appName, () => App);
@@ -1,11 +0,0 @@
1
- # This `.xcode.env` file is versioned and is used to source the environment
2
- # used when running script phases inside Xcode.
3
- # To customize your local environment, you can create an `.xcode.env.local`
4
- # file that is not versioned.
5
-
6
- # NODE_BINARY variable contains the PATH to the node executable.
7
- #
8
- # Customize the NODE_BINARY variable here.
9
- # For example, to use nvm with brew, add the following line
10
- # . "$(brew --prefix nvm)/nvm.sh" --no-use
11
- export NODE_BINARY=$(command -v node)
@@ -1,53 +0,0 @@
1
- import UIKit
2
- import React
3
- import React_RCTAppDelegate
4
- import ReactAppDependencyProvider
5
-
6
- import adbrix_react_native_sdk
7
-
8
- @main
9
- class AppDelegate: RCTAppDelegate {
10
- override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
11
- self.moduleName = "AdbrixReactNativeSdkExample"
12
- self.dependencyProvider = RCTAppDependencyProvider()
13
-
14
- self.initialProps = [:]
15
-
16
- return super.application(application, didFinishLaunchingWithOptions: launchOptions)
17
- }
18
-
19
- override func sourceURL(for bridge: RCTBridge) -> URL? {
20
- self.bundleURL()
21
- }
22
-
23
- override func bundleURL() -> URL? {
24
- #if DEBUG
25
- RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
26
- #else
27
- Bundle.main.url(forResource: "main", withExtension: "jsbundle")
28
- #endif
29
- }
30
-
31
- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
32
-
33
- AdbrixReactNative.deepLinkOpen(url: url)
34
-
35
- return RCTLinkingManager.application(
36
- app,
37
- open: url,
38
- options: options
39
- )
40
- }
41
-
42
- override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([any UIUserActivityRestoring]?) -> Void) -> Bool {
43
-
44
- AdbrixReactNative.deepLinkOpen(userActivity: userActivity)
45
-
46
- return RCTLinkingManager.application(
47
- application,
48
- continue: userActivity,
49
- restorationHandler: restorationHandler
50
- )
51
- }
52
-
53
- }
@@ -1,53 +0,0 @@
1
- {
2
- "images" : [
3
- {
4
- "idiom" : "iphone",
5
- "scale" : "2x",
6
- "size" : "20x20"
7
- },
8
- {
9
- "idiom" : "iphone",
10
- "scale" : "3x",
11
- "size" : "20x20"
12
- },
13
- {
14
- "idiom" : "iphone",
15
- "scale" : "2x",
16
- "size" : "29x29"
17
- },
18
- {
19
- "idiom" : "iphone",
20
- "scale" : "3x",
21
- "size" : "29x29"
22
- },
23
- {
24
- "idiom" : "iphone",
25
- "scale" : "2x",
26
- "size" : "40x40"
27
- },
28
- {
29
- "idiom" : "iphone",
30
- "scale" : "3x",
31
- "size" : "40x40"
32
- },
33
- {
34
- "idiom" : "iphone",
35
- "scale" : "2x",
36
- "size" : "60x60"
37
- },
38
- {
39
- "idiom" : "iphone",
40
- "scale" : "3x",
41
- "size" : "60x60"
42
- },
43
- {
44
- "idiom" : "ios-marketing",
45
- "scale" : "1x",
46
- "size" : "1024x1024"
47
- }
48
- ],
49
- "info" : {
50
- "author" : "xcode",
51
- "version" : 1
52
- }
53
- }
@@ -1,6 +0,0 @@
1
- {
2
- "info" : {
3
- "version" : 1,
4
- "author" : "xcode"
5
- }
6
- }
@@ -1,62 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleDisplayName</key>
8
- <string>AdbrixReactNativeSdkExample</string>
9
- <key>CFBundleExecutable</key>
10
- <string>$(EXECUTABLE_NAME)</string>
11
- <key>CFBundleIdentifier</key>
12
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
- <key>CFBundleInfoDictionaryVersion</key>
14
- <string>6.0</string>
15
- <key>CFBundleName</key>
16
- <string>$(PRODUCT_NAME)</string>
17
- <key>CFBundlePackageType</key>
18
- <string>APPL</string>
19
- <key>CFBundleShortVersionString</key>
20
- <string>$(MARKETING_VERSION)</string>
21
- <key>CFBundleSignature</key>
22
- <string>????</string>
23
- <key>CFBundleURLTypes</key>
24
- <array>
25
- <dict>
26
- <key>CFBundleTypeRole</key>
27
- <string>Editor</string>
28
- <key>CFBundleURLSchemes</key>
29
- <array>
30
- <string>abx2jimmy</string>
31
- </array>
32
- </dict>
33
- </array>
34
- <key>CFBundleVersion</key>
35
- <string>$(CURRENT_PROJECT_VERSION)</string>
36
- <key>LSRequiresIPhoneOS</key>
37
- <true/>
38
- <key>NSAppTransportSecurity</key>
39
- <dict>
40
- <key>NSAllowsArbitraryLoads</key>
41
- <false/>
42
- <key>NSAllowsLocalNetworking</key>
43
- <true/>
44
- </dict>
45
- <key>NSLocationWhenInUseUsageDescription</key>
46
- <string></string>
47
- <key>UILaunchStoryboardName</key>
48
- <string>LaunchScreen</string>
49
- <key>UIRequiredDeviceCapabilities</key>
50
- <array>
51
- <string>arm64</string>
52
- </array>
53
- <key>UISupportedInterfaceOrientations</key>
54
- <array>
55
- <string>UIInterfaceOrientationPortrait</string>
56
- <string>UIInterfaceOrientationLandscapeLeft</string>
57
- <string>UIInterfaceOrientationLandscapeRight</string>
58
- </array>
59
- <key>UIViewControllerBasedStatusBarAppearance</key>
60
- <false/>
61
- </dict>
62
- </plist>
@@ -1,47 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
- <device id="retina4_7" orientation="portrait" appearance="light"/>
4
- <dependencies>
5
- <deployment identifier="iOS"/>
6
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
7
- <capability name="Safe area layout guides" minToolsVersion="9.0"/>
8
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9
- </dependencies>
10
- <scenes>
11
- <!--View Controller-->
12
- <scene sceneID="EHf-IW-A2E">
13
- <objects>
14
- <viewController id="01J-lp-oVM" sceneMemberID="viewController">
15
- <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
16
- <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18
- <subviews>
19
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AdbrixReactNativeSdkExample" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
20
- <rect key="frame" x="0.0" y="202" width="375" height="43"/>
21
- <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
22
- <nil key="highlightedColor"/>
23
- </label>
24
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
25
- <rect key="frame" x="0.0" y="626" width="375" height="21"/>
26
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
27
- <nil key="highlightedColor"/>
28
- </label>
29
- </subviews>
30
- <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
31
- <constraints>
32
- <constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
33
- <constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
34
- <constraint firstItem="MN2-I3-ftu" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="akx-eg-2ui"/>
35
- <constraint firstItem="MN2-I3-ftu" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" id="i1E-0Y-4RG"/>
36
- <constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
37
- <constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
38
- </constraints>
39
- <viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
40
- </view>
41
- </viewController>
42
- <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
43
- </objects>
44
- <point key="canvasLocation" x="52.173913043478265" y="375"/>
45
- </scene>
46
- </scenes>
47
- </document>
@@ -1,37 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>NSPrivacyAccessedAPITypes</key>
6
- <array>
7
- <dict>
8
- <key>NSPrivacyAccessedAPIType</key>
9
- <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10
- <key>NSPrivacyAccessedAPITypeReasons</key>
11
- <array>
12
- <string>C617.1</string>
13
- </array>
14
- </dict>
15
- <dict>
16
- <key>NSPrivacyAccessedAPIType</key>
17
- <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18
- <key>NSPrivacyAccessedAPITypeReasons</key>
19
- <array>
20
- <string>CA92.1</string>
21
- </array>
22
- </dict>
23
- <dict>
24
- <key>NSPrivacyAccessedAPIType</key>
25
- <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
26
- <key>NSPrivacyAccessedAPITypeReasons</key>
27
- <array>
28
- <string>35F9.1</string>
29
- </array>
30
- </dict>
31
- </array>
32
- <key>NSPrivacyCollectedDataTypes</key>
33
- <array/>
34
- <key>NSPrivacyTracking</key>
35
- <false/>
36
- </dict>
37
- </plist>