Skip to content

Commit

Permalink
Remove FIR cpp SDK (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sippul authored Dec 18, 2023
1 parent 1d95b41 commit 0580656
Show file tree
Hide file tree
Showing 17 changed files with 896 additions and 347 deletions.
9 changes: 0 additions & 9 deletions firebase_remoteconfig/api/firebase.script_api
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@
type: string
desc: The value

- name: remoteconfig.get_keys
type: function
desc: Gets the set of all keys. (Official docs https://firebase.google.com/docs/reference/cpp/class/firebase/remote-config/remote-config#getkeys)

return:
- name: keys
type: table
desc: An array of strings representing parameter keys

- name: remoteconfig.set_defaults
type: function
desc: Sets the default values. (Official docs https://firebase.google.com/docs/reference/cpp/class/firebase/remote-config/remote-config#setdefaults)
Expand Down
2 changes: 1 addition & 1 deletion firebase_remoteconfig/ext.manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "FirebaseRemoteConfig"
name: "FirebaseRemoteConfigExt"

platforms:
android:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 7 additions & 8 deletions firebase_remoteconfig/manifests/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
repositories {
mavenCentral()
}

dependencies {
implementation 'com.google.android.gms:play-services-base:17.6.0'
implementation 'com.google.firebase:firebase-config:21.0.1'
}
repositories {
mavenCentral()
}

dependencies {
implementation 'com.google.firebase:firebase-config:21.0.2'
}
2 changes: 1 addition & 1 deletion firebase_remoteconfig/manifests/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
platform :ios, '10.0'
pod 'FirebaseRemoteConfig', '8.13.0'
pod 'FirebaseRemoteConfig', '8.13.0'
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#if defined(DM_PLATFORM_ANDROID)

#include <jni.h>
/* Header for class com_defold_firebase_FirebaseJNI */

#ifndef COM_DEFOLD_FIREBASE_REMOTECONFIG_FIREBASEREMOTECONFIGJNI_H
#define COM_DEFOLD_FIREBASE_REMOTECONFIG_FIREBASEREMOTECONFIGJNI_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: com_defold_firebase_remoteconfig_FirebaseRemoteConfigJNI
* Method: firebaseAddToQueue_first_arg
* Signature: (ILjava/lang/String;I)V
*/

JNIEXPORT void JNICALL Java_com_defold_firebase_remoteconfig_FirebaseRemoteConfigJNI_firebaseAddToQueue
(JNIEnv *, jclass, jint, jstring);

#ifdef __cplusplus
}
#endif
#endif

#endif
Loading

0 comments on commit 0580656

Please sign in to comment.