tapjoy-react-native-sdk 0.1.0 → 0.1.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.
Files changed (84) hide show
  1. package/example/android/app/build.gradle +172 -0
  2. package/example/android/app/debug.keystore +0 -0
  3. package/example/android/app/proguard-rules.pro +10 -0
  4. package/example/android/app/src/debug/AndroidManifest.xml +13 -0
  5. package/example/android/app/src/debug/java/com/tapjoyreactnativesdkexample/ReactNativeFlipper.java +75 -0
  6. package/example/android/app/src/main/AndroidManifest.xml +24 -0
  7. package/example/android/app/src/main/java/com/tapjoyreactnativesdkexample/MainActivity.java +35 -0
  8. package/example/android/app/src/main/java/com/tapjoyreactnativesdkexample/MainApplication.java +62 -0
  9. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -0
  10. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  11. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  12. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  13. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  14. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  15. package/example/android/app/src/main/res/values/strings.xml +3 -0
  16. package/example/android/app/src/main/res/values/styles.xml +11 -0
  17. package/example/android/app/src/release/java/com/tapjoyreactnativesdkexample/ReactNativeFlipper.java +20 -0
  18. package/example/android/build.gradle +30 -0
  19. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  20. package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  21. package/example/android/gradle.properties +44 -0
  22. package/example/android/gradlew +234 -0
  23. package/example/android/gradlew.bat +89 -0
  24. package/example/android/settings.gradle +4 -0
  25. package/example/app.json +4 -0
  26. package/example/babel.config.js +17 -0
  27. package/example/index.js +5 -0
  28. package/example/ios/File.swift +6 -0
  29. package/example/ios/Podfile +63 -0
  30. package/example/ios/TapjoyReactNativeSdkExample/AppDelegate.h +6 -0
  31. package/example/ios/TapjoyReactNativeSdkExample/AppDelegate.mm +36 -0
  32. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/512.imageset/512.png +0 -0
  33. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/512.imageset/Contents.json +21 -0
  34. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/1024.png +0 -0
  35. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/120 1.png +0 -0
  36. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/120.png +0 -0
  37. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/180.png +0 -0
  38. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/40.png +0 -0
  39. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/58.png +0 -0
  40. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/60.png +0 -0
  41. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/80.png +0 -0
  42. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/87.png +0 -0
  43. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/AppIcon.appiconset/Contents.json +62 -0
  44. package/example/ios/TapjoyReactNativeSdkExample/Images.xcassets/Contents.json +6 -0
  45. package/example/ios/TapjoyReactNativeSdkExample/Info.plist +59 -0
  46. package/example/ios/TapjoyReactNativeSdkExample/LaunchScreen.storyboard +46 -0
  47. package/example/ios/TapjoyReactNativeSdkExample/main.m +10 -0
  48. package/example/ios/TapjoyReactNativeSdkExample-Bridging-Header.h +3 -0
  49. package/example/ios/TapjoyReactNativeSdkExample.xcodeproj/project.pbxproj +818 -0
  50. package/example/ios/TapjoyReactNativeSdkExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  51. package/example/ios/TapjoyReactNativeSdkExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  52. package/example/ios/TapjoyReactNativeSdkExample.xcodeproj/xcshareddata/xcschemes/TapjoyReactNativeSdkExample.xcscheme +88 -0
  53. package/example/ios/TapjoyReactNativeSdkExample.xcworkspace/contents.xcworkspacedata +10 -0
  54. package/example/ios/TapjoyReactNativeSdkExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  55. package/example/ios/TapjoyReactNativeSdkExampleTests/Info.plist +24 -0
  56. package/example/ios/TapjoyReactNativeSdkExampleTests/TapjoyReactNativeSdkExampleTests.m +66 -0
  57. package/example/metro.config.js +40 -0
  58. package/example/package.json +32 -0
  59. package/example/react-native.config.js +10 -0
  60. package/example/src/App.tsx +27 -0
  61. package/example/src/Button.tsx +26 -0
  62. package/example/src/MainScreen.tsx +152 -0
  63. package/example/src/OfferwallScreen.tsx +172 -0
  64. package/example/src/Styles.ts +120 -0
  65. package/example/src/UserProperties.tsx +93 -0
  66. package/example/yarn-error.log +5090 -0
  67. package/example/yarn.lock +5029 -0
  68. package/package.json +15 -5
  69. package/lib/typescript/package/src/TJPlacement.d.ts +0 -17
  70. package/lib/typescript/package/src/TJPlacement.d.ts.map +0 -1
  71. package/lib/typescript/package/src/TJPrivacyPolicy.d.ts +0 -8
  72. package/lib/typescript/package/src/TJPrivacyPolicy.d.ts.map +0 -1
  73. package/lib/typescript/package/src/TJVersion.d.ts +0 -5
  74. package/lib/typescript/package/src/TJVersion.d.ts.map +0 -1
  75. package/lib/typescript/package/src/index.d.ts +0 -7
  76. package/lib/typescript/package/src/index.d.ts.map +0 -1
  77. package/lib/typescript/src/TJPlacement.d.ts +0 -17
  78. package/lib/typescript/src/TJPlacement.d.ts.map +0 -1
  79. package/lib/typescript/src/TJPrivacyPolicy.d.ts +0 -8
  80. package/lib/typescript/src/TJPrivacyPolicy.d.ts.map +0 -1
  81. package/lib/typescript/src/TJVersion.d.ts +0 -5
  82. package/lib/typescript/src/TJVersion.d.ts.map +0 -1
  83. package/lib/typescript/src/index.d.ts +0 -7
  84. package/lib/typescript/src/index.d.ts.map +0 -1
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21701" 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="21678"/>
7
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
8
+ <capability name="System colors in document resources" minToolsVersion="11.0"/>
9
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10
+ </dependencies>
11
+ <scenes>
12
+ <!--View Controller-->
13
+ <scene sceneID="EHf-IW-A2E">
14
+ <objects>
15
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
16
+ <view key="view" contentMode="scaleToFill" ambiguous="YES" id="Ze5-6b-2t3">
17
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
18
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19
+ <subviews>
20
+ <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" placeholderIntrinsicWidth="300" placeholderIntrinsicHeight="300" image="512" id="5YZ-6w-2Af">
21
+ <rect key="frame" x="37" y="183" width="300" height="300"/>
22
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
23
+ <rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0"/>
24
+ <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="default"/>
25
+ </imageView>
26
+ </subviews>
27
+ <viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
28
+ <color key="backgroundColor" systemColor="systemBackgroundColor"/>
29
+ <constraints>
30
+ <constraint firstItem="5YZ-6w-2Af" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="c4E-cc-1eU"/>
31
+ <constraint firstItem="5YZ-6w-2Af" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="cC6-sm-qPS"/>
32
+ </constraints>
33
+ </view>
34
+ </viewController>
35
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
36
+ </objects>
37
+ <point key="canvasLocation" x="52" y="374.66266866566718"/>
38
+ </scene>
39
+ </scenes>
40
+ <resources>
41
+ <image name="512" width="512" height="512"/>
42
+ <systemColor name="systemBackgroundColor">
43
+ <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
44
+ </systemColor>
45
+ </resources>
46
+ </document>
@@ -0,0 +1,10 @@
1
+ #import <UIKit/UIKit.h>
2
+
3
+ #import "AppDelegate.h"
4
+
5
+ int main(int argc, char *argv[])
6
+ {
7
+ @autoreleasepool {
8
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ //
2
+ // Use this file to import your target's public headers that you would like to expose to Swift.
3
+ //