Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
iOS SDK source code added instead of Pod. (#83)
Browse files Browse the repository at this point in the history
* iOS SDK source code added instead of Pod.

* Changelog updated

* Changelog grouping updated

* Changelog text updated
  • Loading branch information
ijunaid authored Dec 29, 2020
1 parent 5c895aa commit d6ae109
Show file tree
Hide file tree
Showing 39 changed files with 8,724 additions and 10 deletions.
27 changes: 23 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
## 20.11.0
* !! Due to cocoapods issue with Xcode 12, we have added the iOS SDK as source code instead of Pod. Due to that change you may need to remove the ios platform and add it again.
* !! Consent change !! To use remote config, you now need to give "remote-config" consent
* !! Push breaking changes !! Google play vulnerability issue fixed due to broadcast receiver for android push notification
* Added "onNotification" listener for push notification callbacks
* Notification Service Extension automation added
* Tweaked android push notifications to always show up as notifications
* Added Surveys and NPS feedback widgets
* Added replaceAllAppKeysInQueueWithCurrentAppKey method to replace all app keys in queue with the current app key
* Added removeDifferentAppKeysFromQueue method to remove all different app keys from the queue
* Added setStarRatingDialogTexts method to set text's for different fields of star rating dialog
* Added "replaceAllAppKeysInQueueWithCurrentAppKey" method to replace all app keys in queue with the current app key
* Added "removeDifferentAppKeysFromQueue" method to remove all different app keys from the queue
* Added "setStarRatingDialogTexts" method to set text's for different fields of star rating dialog
* Added "setLoggingEnabled" call
* Added "setLocationInit" method to record Location before init, to prevent potential issues occurred when location is passed after init.
* Added "giveConsentInit" method to give Consents before init, some features needed consent before init to work properly.
* Added APM calls
* Added "isInitialised" call
* Added functionality to enable attribution
* Added "recordAttributionID" call to support changes in iOS 14 related to App Tracking Permission.
* Added call to retrieve the currently used device ID and Author.
* Updated "init" call to async
* Segmentation added in recordView method
* Renamed countly-sdk-js to countly-sdk-cordova
* Scripts added to create Cordova and Ionic Example app
* Ionic example app removed
* Fixed issues related to location tracking
* Fixed SDK version and SDK name metrics to show not the bridged SDK values but the ones from the cordova SDK
* Updated underlying android SDK to 20.11.2
* Updated underlying ios SDK to 20.11.1

## 20.4.0
## 19.9.3
4 changes: 2 additions & 2 deletions hooks/createService.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ module.exports = function(context) {
});

var countlyFiles = [
__dirname +'/../../../platforms/ios/Pods/CountlyPod/' +'CountlyNotificationService.h',
__dirname +'/../../../platforms/ios/Pods/CountlyPod/' +'CountlyNotificationService.m'
__dirname +`/../src/ios/CountlyiOS/` +'CountlyNotificationService.h',
__dirname +`/../src/ios/CountlyiOS/` +'CountlyNotificationService.m'
];
extFiles.push(countlyFiles[0]);
extFiles.push(countlyFiles[1]);
Expand Down
56 changes: 52 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
<issue>https://github.com/Countly/countly-sdk-cordova/issues</issue>

<engines>
<engine name="cordova" version=">=3.0.0"/>
<engine name="cordova-android" version=">=3.0.0"/>
<engine name="cordova-ios" version=">=3.0.0"/>
<engine name="cordova" version=">=9.0.0"/>
<engine name="cordova-android" version=">=8.0.0"/>
<engine name="cordova-ios" version=">=5.0.0"/>
</engines>

<js-module src="Countly.js" name="Countly">
Expand All @@ -42,14 +42,62 @@
<header-file src="src/ios/CountlyNative.h"/>
<source-file src="src/ios/CountlyNative.m"/>

<source-file src="src/ios/CountlyiOS/Countly.m"/>
<header-file src="src/ios/CountlyiOS/Countly.h"/>
<header-file src="src/ios/CountlyiOS/CountlyCommon.h"/>
<source-file src="src/ios/CountlyiOS/CountlyCommon.m"/>

<header-file src="src/ios/CountlyiOS/CountlyConfig.h"/>
<source-file src="src/ios/CountlyiOS/CountlyConfig.m"/>
<header-file src="src/ios/CountlyiOS/CountlyConnectionManager.h"/>
<source-file src="src/ios/CountlyiOS/CountlyConnectionManager.m"/>

<header-file src="src/ios/CountlyiOS/CountlyConsentManager.h"/>
<source-file src="src/ios/CountlyiOS/CountlyConsentManager.m"/>
<header-file src="src/ios/CountlyiOS/CountlyCrashReporter.h"/>
<source-file src="src/ios/CountlyiOS/CountlyCrashReporter.m"/>

<header-file src="src/ios/CountlyiOS/CountlyDeviceInfo.h"/>
<source-file src="src/ios/CountlyiOS/CountlyDeviceInfo.m"/>
<header-file src="src/ios/CountlyiOS/CountlyEvent.h"/>
<source-file src="src/ios/CountlyiOS/CountlyEvent.m"/>

<header-file src="src/ios/CountlyiOS/CountlyFeedbacks.h"/>
<source-file src="src/ios/CountlyiOS/CountlyFeedbacks.m"/>
<header-file src="src/ios/CountlyiOS/CountlyFeedbackWidget.h"/>
<source-file src="src/ios/CountlyiOS/CountlyFeedbackWidget.m"/>

<header-file src="src/ios/CountlyiOS/CountlyLocationManager.h"/>
<source-file src="src/ios/CountlyiOS/CountlyLocationManager.m"/>
<header-file src="src/ios/CountlyiOS/CountlyNotificationService.h"/>
<source-file src="src/ios/CountlyiOS/CountlyNotificationService.m"/>

<header-file src="src/ios/CountlyiOS/CountlyPerformanceMonitoring.h"/>
<source-file src="src/ios/CountlyiOS/CountlyPerformanceMonitoring.m"/>
<header-file src="src/ios/CountlyiOS/CountlyPersistency.h"/>
<source-file src="src/ios/CountlyiOS/CountlyPersistency.m"/>


<header-file src="src/ios/CountlyiOS/CountlyPushNotifications.h"/>
<source-file src="src/ios/CountlyiOS/CountlyPushNotifications.m"/>
<header-file src="src/ios/CountlyiOS/CountlyRemoteConfig.h"/>
<source-file src="src/ios/CountlyiOS/CountlyRemoteConfig.m"/>


<header-file src="src/ios/CountlyiOS/CountlyUserDetails.h"/>
<source-file src="src/ios/CountlyiOS/CountlyUserDetails.m"/>
<header-file src="src/ios/CountlyiOS/CountlyViewTracking.h"/>
<source-file src="src/ios/CountlyiOS/CountlyViewTracking.m"/>

<!-- <source-file src="src/ios/CountlyiOS/CountlyiOS"/> -->

<framework src="CoreTelephony.framework" weak="true" />
<framework src="OpenGLES.framework" weak="true" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="CountlyPod" version="20.11.1"/>
</pods>
</podspec>
<!-- Push notification -->
Expand Down
Loading

0 comments on commit d6ae109

Please sign in to comment.