Skip to content

Commit

Permalink
Pull request #945: Release V8.10.1
Browse files Browse the repository at this point in the history
Merge in MOBILE-SDK/app_mobile-sdk-ios from Release-V8.10.1 to master

* commit '346748eb7e2306e6c5861f2e1588bf71904038d3':
  Updated release notes and version
  User Agent
  Revert To iOS 12
  • Loading branch information
asharmaa committed Jan 18, 2024
2 parents 46ea0dc + 346748e commit aaafa51
Show file tree
Hide file tree
Showing 13 changed files with 132 additions and 61 deletions.
4 changes: 2 additions & 2 deletions AppNexusSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Pod::Spec.new do |s|

s.name = "AppNexusSDK"
s.version = "8.10.0"
s.platform = :ios, "14.0"
s.version = "8.10.1"
s.platform = :ios, "12.0"

s.summary = "AppNexus iOS Mobile Advertising SDK"
s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let package = Package(
name: "AppNexusSDK",
defaultLocalization: "en",
platforms: [
.iOS(.v14),
.iOS(.v12),
],
products: [
.library(
Expand Down
5 changes: 5 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 8.10.1

#### The minimum supported iOS version for the SDK has been rolled back to iOS 12


## 8.10.0

### New Feature
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 9TBTYSQH6V;
DEVELOPMENT_TEAM = 24693A647M;
INFOPLIST_FILE = SimpleIntegrationSwift/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -593,7 +593,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 9TBTYSQH6V;
DEVELOPMENT_TEAM = 24693A647M;
INFOPLIST_FILE = SimpleIntegrationSwift/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// Override point for customization after application launch.
ANSDKSettings.sharedInstance().enableOMIDOptimization = true
ANLogManager.setANLogLevel(ANLogLevel.all)
XandrAd.sharedInstance().initWithMemberID(10094,preCacheRequestObjects: true, completionHandler: nil)
XandrAd.sharedInstance().initWithMemberID(10094, preCacheRequestObjects: true ,completionHandler: { (status) in
print("Done🔨 \(status)")
})
return true
}
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/AppNexusNativeSDK/SDK-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>8.10.0</string>
<string>8.10.1</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion sdk/AppNexusNativeStaticSDK/SDK-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>8.10.0</string>
<string>8.10.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
36 changes: 18 additions & 18 deletions sdk/AppNexusSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@
HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = "AppNexusNativeStaticSDK/SDK-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -2241,7 +2241,7 @@
"\"$(SRCROOT)/sourcefiles/Viewability/static_framework/OMSDK_Microsoft.xcframework/ios-arm64_armv7/\"",
);
MACH_O_TYPE = staticlib;
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "-ObjC";
Expand Down Expand Up @@ -2283,7 +2283,7 @@
HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = "AppNexusNativeStaticSDK/SDK-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -2294,7 +2294,7 @@
"\"$(SRCROOT)/sourcefiles/Viewability/static_framework/OMSDK_Microsoft.xcframework/ios-arm64_armv7/\"",
);
MACH_O_TYPE = staticlib;
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "-ObjC";
Expand Down Expand Up @@ -2334,14 +2334,14 @@
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 AppNexus. All rights reserved.";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = Xandr.AppNexusNativeMacOSSDK;
Expand Down Expand Up @@ -2381,14 +2381,14 @@
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 AppNexus. All rights reserved.";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = Xandr.AppNexusNativeMacOSSDK;
Expand Down Expand Up @@ -2427,14 +2427,14 @@
HEADER_SEARCH_PATHS = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;
INFOPLIST_FILE = "AppNexusSDK/SDK-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -2469,14 +2469,14 @@
HEADER_SEARCH_PATHS = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;
INFOPLIST_FILE = "AppNexusSDK/SDK-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -2540,7 +2540,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IBC_FLATTEN_NIBS = NO;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -2594,7 +2594,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IBC_FLATTEN_NIBS = NO;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
ONLY_ACTIVE_ARCH = NO;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -2635,14 +2635,14 @@
HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = "AppNexusNativeSDK/SDK-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = corp.appnexus.AppNexusSDK;
Expand Down Expand Up @@ -2686,14 +2686,14 @@
HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = "AppNexusNativeSDK/SDK-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 8.10.0;
MARKETING_VERSION = 8.10.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = corp.appnexus.AppNexusSDK;
Expand Down
2 changes: 1 addition & 1 deletion sdk/AppNexusSDK/SDK-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>8.10.0</string>
<string>8.10.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
8 changes: 7 additions & 1 deletion sdk/sourcefiles/internal/ANBrowserViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,13 @@ - (void)refreshToolbarActivityIndicator {

- (UIBarButtonItem *)refreshIndicatorItem {
if (!_refreshIndicatorItem) {
UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleMedium];
UIActivityIndicatorView *indicator;
if (@available(iOS 13.0, *))
{
indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleMedium];
} else {
indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
}
[indicator startAnimating];
_refreshIndicatorItem = [[UIBarButtonItem alloc] initWithCustomView:indicator];
}
Expand Down
4 changes: 2 additions & 2 deletions sdk/sourcefiles/internal/ANGlobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@


#if !APPNEXUS_NATIVE_MACOS_SDK
#define AN_SDK_VERSION @"8.10.0"
#define AN_SDK_VERSION @"8.10.1"
#else
#define AN_SDK_VERSION @"8.10.0-mac"
#define AN_SDK_VERSION @"8.10.1-mac"
#endif


Expand Down
Loading

0 comments on commit aaafa51

Please sign in to comment.