Skip to content

Commit

Permalink
Release 1.8.5 (334)
Browse files Browse the repository at this point in the history
  • Loading branch information
denis15yo committed Oct 8, 2024
1 parent 92b5936 commit a3d19f3
Show file tree
Hide file tree
Showing 9 changed files with 149 additions and 117 deletions.
46 changes: 14 additions & 32 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"location" : "[email protected]:mobyrix/nicegram-assistant-ios.git",
"state" : {
"branch" : "master",
"revision" : "a2192f14cfe92c2363cd12dee79abd53f6ce12d4"
"revision" : "73622cebd67fd56abf014708d5da860f0773c66c"
}
},
{
Expand All @@ -123,7 +123,7 @@
"location" : "[email protected]:mobyrix/nicegram-wallet-ios.git",
"state" : {
"branch" : "master",
"revision" : "b39e6dca69f39ebeb13f44e9b12da32397b5f6fa"
"revision" : "43356c38f071208ba27bb4b15617b86c15ca1cd4"
}
},
{
Expand Down
8 changes: 8 additions & 0 deletions Telegram/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2377,6 +2377,14 @@ plist_fragment(
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>GOOGLE_ANALYTICS_DEFAULT_ALLOW_ANALYTICS_STORAGE</key>
<true/>
<key>GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_STORAGE</key>
<true/>
<key>GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_USER_DATA</key>
<true/>
<key>GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_PERSONALIZATION_SIGNALS</key>
<true/>
""".format(
nicegram_queries_schemes = nicegram_queries_schemes,
nicegram_skad_network_items = nicegram_skad_network_items,
Expand Down
7 changes: 0 additions & 7 deletions Telegram/Telegram-iOS/en.lproj/NiceLocalizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
"Chat.OpenPin" = "Show Pin";
"ChatFilter.Admin" = "Admin";
"NiceFeatures.Notifications.Fix" = "Disable Unwanted Notifications";
"NiceFeatures.Notifications.FixNotice" = "Useful if you get notifications from muted chats.\nReply from notifications, account labels, and media previews will be unavailable.";
"NiceFeatures.Filters.Header" = "FILTERS (TABS)";
"NiceFeatures.Filters.Notice" = "Select the number of custom tabs.\nLong-tap on tab to change filter.";
"NiceFeatures.Filters.ShowBadge" = "Show Badges (Filters)";
"NiceFeatures.UseClassicInfoUi" = "Use classic Chat Info UI";

Expand All @@ -60,7 +58,6 @@
"Folder.Create" = "Create Folder...";
"Folder.Create.Name" = "Folder Name";
"Folder.Create.Placeholder" = "Folder...";
"Folder.LimitExceeded" = "Sorry, you can create no more than 3 custom folders.\nMore folders are available in Premium.";
"NiceFeatures.HideNumber" = "Hide phone in settings";

/*NGWeb*/
Expand Down Expand Up @@ -88,10 +85,8 @@
"Common.SupportChatUsername" = "nicegramchat";
"Common.FAQUrl" = "https://nicegram.app/faq/";
"Common.FAQ.Button" = "Nicegram FAQ";
"Common.FAQ.Intro" = "Please note that Nicegram Support is done by the only developer and community.\n\nFirstly, take a look at the Nicegram FAQ: it has important troubleshooting tips and answers to most questions.";
"IAP.Premium.Title" = "Premium";
"IAP.Premium.Subtitle" = "Unique features you can't refuse!";
"IAP.Premium.Features" = "Quick message Translator\n\nRemember selected folder on exit";
"IAP.Premium.Activated" = "Premium Activated!";
"IAP.Common.Restore" = "Restore Purchases";
"IAP.Common.CantPay" = "Sorry, but you can't make purchases because of your device or account restrictions.";
Expand Down Expand Up @@ -134,7 +129,6 @@
"NiceFeatures.BackupSettings.Done" = "Backup sent to Saved Messages";
"NiceFeatures.BackupSettings.Error" = "Error creating backup";

"NiceFeatures.RestoreSettings.Confirm" = "Are you sure you want to restore Folders & Settings from file?\n⚠️ It will override current data";
"NiceFeatures.RestoreSettings.Done" = "Folders & Settings succesfully restored";
"NiceFeatures.RestoreSettings.Error" = "Error restoring settings. File may be corrupted";

Expand All @@ -145,7 +139,6 @@
"Gmod" = "Preview Mode";
"Gmod.Enable" = "Enable Preview Mode?";
"Gmod.Disable" = "Disable Preview Mode?";
"Gmod.Notice" = "Your online status will be hidden from everyone by Telegram privacy settings.\nApp will show a warning if you're entering a private chat.\nYour online status may be revealed if you send or type ANY message.";

"ShowNicegramButtonInChat" = "Show Nicegram Button in Chat";
"SendWithKb" = "Send with «Enter» button";
Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ provisioning_profile_repository(

http_archive(
name = "FirebaseSDK",
urls = ["https://github.com/firebase/firebase-ios-sdk/releases/download/v8.11.0/Firebase.zip"],
urls = ["https://github.com/firebase/firebase-ios-sdk/releases/download/10.20.0/Firebase.zip"],
build_file = "@//third-party/Firebase:BUILD",
sha256 = "ecf1013b5d616bb5d3acc7d9ddf257c06228c0a7364dd84d03989bae6af5ac5b",
sha256 = "1cf4343231b9f3cb6930436d59161633e460ec351f3c39419836932693b2ac18",
)

http_archive(
Expand Down
2 changes: 1 addition & 1 deletion ci/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ lane :master_build do |options|
versions = JSON.parse(File.read("#{SOURCE_PATH}/versions.json"))
app_version = versions["app"]

build_number = latest_testflight_build_number(
build_number = app_store_build_number(
api_key: generate_app_store_connect_api_key(),
app_identifier: BUNDLE_ID,
version: app_version
Expand Down
31 changes: 11 additions & 20 deletions submodules/TelegramUI/Sources/Nicegram/NGDeeplinkHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import FeatRewardsUI
import FeatTasks
import NGAiChatUI
import NGAnalytics
import NGEntryPoint
import FeatAuth
import NGCore
import class NGCoreUI.SharedLoadingView
Expand Down Expand Up @@ -112,6 +113,13 @@ class NGDeeplinkHandler {
taskDeeplinkHandler.handle(url)
}
return true
case "tgAuthSuccess":
if #available(iOS 15.0, *) {
Task { @MainActor in
TgAuthSuccessPresenter().presentIfNeeded()
}
}
return true
default:
return false
}
Expand All @@ -125,11 +133,7 @@ private extension NGDeeplinkHandler {
func handleAiAuth(url: URL) -> Bool {
if #available(iOS 13.0, *) {
Task { @MainActor in
AiChatUITgHelper.routeToAiOnboarding(
push: { [self] controller in
self.push(controller)
}
)
AiChatUITgHelper.routeToAiOnboarding()
}
return true
}
Expand All @@ -139,11 +143,7 @@ private extension NGDeeplinkHandler {
func handleAi(url: URL) -> Bool {
if #available(iOS 13.0, *) {
Task { @MainActor in
AiChatUITgHelper.tryRouteToAiChatBotFromDeeplink(
push: { [self] controller in
self.push(controller)
}
)
AiChatUITgHelper.tryRouteToAiChatBotFromDeeplink()
}
return true
}
Expand Down Expand Up @@ -212,7 +212,7 @@ private extension NGDeeplinkHandler {

Task { @MainActor in
LoginViewPresenter().present(
feature: LoginFeature(source: .general)
feature: LoginFeature()
)
}
return true
Expand All @@ -235,14 +235,5 @@ private extension NGDeeplinkHandler {
func getCurrentPresentationData() -> PresentationData {
return tgAccountContext.sharedContext.currentPresentationData.with({ $0 })
}

func push(_ c: UIViewController) {
self.navigationController?.pushViewController(
NativeControllerWrapper(
controller: c,
accountContext: self.tgAccountContext
)
)
}
}

Loading

0 comments on commit a3d19f3

Please sign in to comment.