smartmessage-react-native 2.11.2

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.
@@ -0,0 +1,30 @@
1
+ require 'json'
2
+ package_json = JSON.parse(File.read(File.join(__dir__, 'package.json')))
3
+
4
+ Pod::Spec.new do |s|
5
+ s.name = 'RNSmartMessage'
6
+ s.version = package_json["version"]
7
+ s.summary = package_json["description"]
8
+
9
+ s.homepage = package_json["homepage"]
10
+ s.license = package_json["license"]
11
+ s.author = { package_json["author"] => package_json["email"]}
12
+ s.platforms = { :ios => "12.4" }
13
+
14
+ s.source = { :git => package_json["repository"]["url"], :tag => s.version }
15
+ s.requires_arc = true
16
+ s.source_files = 'ios/*.{h,m,swift}'
17
+ s.public_header_files = 'ios/RNSmartMessage.h'
18
+ s.static_framework = true
19
+ s.framework = 'Foundation', 'UserNotificationsUI', 'UserNotifications'
20
+ s.xcconfig = {
21
+ 'CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER' => '${inherited}',
22
+ 'ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES' => '$(inherited)',
23
+ 'FRAMEWORK_SEARCH_PATHS' => '"$(SRCROOT)/../node_modules/react-native-smartmessage/ios"',
24
+ 'LIBRARY_SEARCH_PATHS' => '"${PODS_CONFIGURATION_BUILD_DIR}/RNSmartMessage"',
25
+ 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/Headers/Public/RNSmartMessage"'
26
+ }
27
+
28
+ s.dependency "React"
29
+ s.dependency "SmartMessageSdk"
30
+ end
@@ -0,0 +1,65 @@
1
+ apply plugin: 'com.android.library'
2
+
3
+ buildscript {
4
+ repositories {
5
+ google()
6
+ mavenCentral()
7
+ }
8
+
9
+ dependencies {
10
+ classpath 'com.android.tools.build:gradle:3.3.3'
11
+ }
12
+ }
13
+
14
+ def safeExtGet(prop, fallback) {
15
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
16
+ }
17
+
18
+ android {
19
+ namespace "tr.com.odc.RNSmartMessage"
20
+ compileSdkVersion safeExtGet('compileSdkVersion', 34)
21
+
22
+ defaultConfig {
23
+ minSdkVersion safeExtGet('minSdkVersion', 24)
24
+ targetSdkVersion safeExtGet('targetSdkVersion', 29)
25
+
26
+ versionCode 1
27
+ versionName "1.1.1"
28
+ }
29
+ lintOptions {
30
+ abortOnError false
31
+ }
32
+ }
33
+
34
+ repositories {
35
+ mavenLocal()
36
+ google()
37
+ mavenCentral()
38
+ maven {
39
+ // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
40
+ url "$rootDir/../node_modules/react-native/android"
41
+ }
42
+ // flatDir { dirs 'libs' }
43
+ }
44
+
45
+ dependencies {
46
+ implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
47
+ implementation 'io.github.smartmessagesdk:smartmessage-sdk:2.11.1'
48
+
49
+
50
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
51
+ implementation 'androidx.appcompat:appcompat:1.3.1'
52
+ implementation 'androidx.cardview:cardview:1.0.0'
53
+ implementation 'com.google.android.material:material:1.4.0'
54
+
55
+ // implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
56
+ implementation 'com.google.code.gson:gson:2.8.9'
57
+ implementation 'com.squareup.retrofit2:retrofit:2.7.0'
58
+ implementation 'com.squareup.retrofit2:converter-gson:2.7.0'
59
+ // implementation project(':smartmessage')
60
+ implementation 'com.google.android.gms:play-services-location:18.0.0'
61
+ implementation 'com.google.firebase:firebase-messaging:24.0.1'
62
+
63
+ implementation 'androidx.security:security-crypto-ktx:1.1.0-alpha06'
64
+
65
+ }
@@ -0,0 +1,2 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ </manifest>