Jump to content
View in the app

A better way to browse. Learn more.

FGX Native

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Administrators

Скачать:
setup_1.18.1.0_release.rus.zip

Дата релиза:
9 апреля 2024


Улучшения 🙌

Настройки проекта

Реализована страница основных настроек приложения, которая позволяет настроить название приложения, версию, имя пакета и т.д. 

TfgDateEdit/TfgTimeEdit

Добавлено новое свойство BorderStyle, позволяющее убрать внешний вид рамки компонентов. Улучшено отображение компонентов в дизайнере для Android/iOS стилей. Теперь свойство TintColor передается в пикер выбора даты и времени на iOS. К сожалению, Android не позволяет менять цвет кнопок в рантайме. Их нужно менять через файл styles.xml.

TfgTimer

Теперь при задании значения свойства Interval в дизайнере автоматически задается такое же значение для свойства Delay (если значение Delay совпадало с Interval). По умолчанию Delay был равен 0, и часто клиенты не могли понять, почему первое срабатывание таймера выполнялось сразу же после запуска.

Yandex Mobile Ads

Обновлена поддержка используемой библиотеки Yandex Mobile Ads с "6.3.0" до "7.0.0".

Исправление ошибок 🐛

Добрый день, я дико извиняюсь, я так понимаю, что style.xml потерялся, даже на пустом, только что созданном, проекте выдает (delphi 11 community edition):

Цитата

    Execution failed for task ':app:processDebugResources'.
    > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
       > Android resource linking failed
    EXEC : error : C:\andr\.build\{AA248813-6D9E-4DEC-8835-F2FCF6CFD3EB}\.android-build\app\src\main\AndroidManifest.xml:7:3-22:17: AAPT: error: resource style/AppTheme (aka ru.project1:style/AppTheme) not found.
             
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at https://help.gradle.org.
    
    BUILD FAILED in 13s
    C:\Users\Alex O\AppData\Local\FGX Native\MSBuild\FGX.Delphi.Android.Targets(113,5): error MSB3073: The command "gradlew app:build" exited with code 1.
Done building target "BuildPackage" in project "Project1.dproj" -- FAILED.
Done building project "Project1.dproj" -- FAILED.
Build FAILED.
EXEC : error : C:\andr\.build\{AA248813-6D9E-4DEC-8835-F2FCF6CFD3EB}\.android-build\app\src\main\AndroidManifest.xml:7:3-22:17: AAPT: error: resource style/AppTheme (aka ru.project1:style/AppTheme) not found.
C:\Users\Alex O\AppData\Local\FGX Native\MSBuild\FGX.Delphi.Android.Targets(113,5): error MSB3073: The command "gradlew app:build" exited with code 1.
    0 Warning(s)
    2 Error(s)

 

Edited by Alex O

ну и вдогонку, если включена в опциях поддержка яндекс рекламы:

Цитата

    > Task :app:processDebugMainManifest FAILED
    C:\andr\.build\{F1805EA4-4CE6-481B-BC8F-D45ADCE29300}\.android-build\app\src\main\AndroidManifest.xml:8:275-307 Warning:
        android:extractNativeLibs should not be specified in this source AndroidManifest.xml file. See https://d.android.com/guide/topics/manifest/application-element#extractNativeLibs for more information.
    The AGP Upgrade Assistant can remove the attribute from the AndroidManifest.xml file and update the build file accordingly. See https://d.android.com/studio/build/agp-upgrade-assistant for more information.
    C:\andr\.build\{F1805EA4-4CE6-481B-BC8F-D45ADCE29300}\.android-build\app\src\main\AndroidManifest.xml:10:65-108 Error:
        Attribute provider#androidx.core.content.FileProvider@authorities value=(ru.hwdoc.fileprovider) from AndroidManifest.xml:10:65-108
        is also present at [com.yandex.android:mobileads:7.0.0] AndroidManifest.xml:32:13-91 value=(ru.hwdoc.monetization.ads.inspector.fileprovider).
        Suggestion: add 'tools:replace="android:authorities"' to <provider> element at AndroidManifest.xml:10:5-12:16 to override.
    
    See https://developer.android.com/r/studio-ui/build/manifest-merger for more information about the manifest merger.
    
    C:\andr\.build\{F1805EA4-4CE6-481B-BC8F-D45ADCE29300}\.android-build\app\src\main\AndroidManifest.xml:11:69-107 Error:
        Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/provider_paths) from AndroidManifest.xml:11:69-107
        is also present at [com.yandex.android:mobileads:7.0.0] AndroidManifest.xml:37:17-51 value=(@xml/file_paths).
        Suggestion: add 'tools:replace="android:resource"' to <meta-data> element at AndroidManifest.xml:11:7-110 to override.
    
    > Task :app:mergeDebugResources
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.
    > Manifest merger failed with multiple errors, see logs
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at https://help.gradle.org.
    10 actionable tasks: 4 executed, 6 up-to-date
    
    BUILD FAILED in 6s
    C:\Users\Alex O\AppData\Local\FGX Native\MSBuild\FGX.Delphi.Android.Targets(113,5): error MSB3073: The command "gradlew app:build" exited with code 1.
Done building target "BuildPackage" in project "hwdoc.dproj" -- FAILED.
Done building project "hwdoc.dproj" -- FAILED.
Build FAILED.
C:\Users\Alex O\AppData\Local\FGX Native\MSBuild\FGX.Delphi.Android.Targets(113,5): error MSB3073: The command "gradlew app:build" exited with code 1.
    0 Warning(s)
    1 Error(s)

 

9 минут назад, Yaroslav Brovin сказал:

Прикрепите, пожалуйста, проект. На 12 все собирается без проблем.

обычный стандартный

Project1.7z

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.