Code Monkey home page Code Monkey logo

appmetrica-sdk-ios's People

Contributors

glinnik21 avatar lisitsyn avatar nesterovichalexey avatar sergey70 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

appmetrica-sdk-ios's Issues

Excessive amount of logs

📚 AppMetrica SDK Version

5.0.0

🛠️ Xcode Version

Version 15.0 (15A240d)

📱 Device Information

iPhone 12 Pro Max, iOS 17

⚙️ Installation Method

Swift Package Manager

📝 Description

AppMetrica is constantly logging its internal things, which I'm not interested in as a user. I expect to see only error logs from AppMetrica or any other 3rd party libs by default. Any debug/info/verbose logs should be suppressed by default and only be available as an opt-in for those who debug the library itself.

🔍 Reproducing the issue

  1. Integrate AppMetrica via SPM
  2. Configure it with logging off:
    if let configuration = AMAAppMetricaConfiguration(apiKey: "xxx") {
        configuration.logs = false
        AMAAppMetrica.activate(with: configuration)
    }
  3. Run the application

📋 Relevant AppMetrica Log Output or Crash Logs

Expand to view logs
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAAsyncExecutor.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMALocationManager.Queue
-[AMAKeychain dataForKey:error:]:182 Failed to retrieve data for key AMAKeychainAvailabilityCheckObjectKey, osstatus -34018
+[AMAErrorUtilities fillError:withError:]:18 Error Domain=kAMAKeychainErrorDomain Code=2 "(null)" UserInfo={kAMAKeychainErrorKeyCode=-34018}
-[AMAKeychain addData:forKey:error:]:150 Failed to add object for key AMAKeychainAvailabilityCheckObjectKey with osstatus -34018
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMALocationCollectingController.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAExtensionsReportController.Queue
-[AMADatabaseIntegrityProcessor checkIntegrityIssuesForDatabase:report:]:50 DB integrity check found issues: (
)
+[AMAFileUtility rawContentAtFilePath:error:]:80 Reading content of file: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/storage.bak
+[AMAFileUtility rawContentAtFilePath:error:]:83 File reading complete: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/storage.bak
-[AMASKAdNetworkRequestor registerForAdNetworkAttribution]:64 Not a first execution of an app. Skipping registering
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAStartupController.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAReporterStoragesContainer.Queue
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAAsyncExecutor.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.AMAReachability.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAReporter.Queue
-[AMAIntervalExecutionCondition shouldExecute]:49 Interval hasn't passed: 85562 seconds left
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
-[AMAAppMetricaImpl logMetricaStart]:185 AppMetrica activated with apiKey: ...
Version:5.0.0, Debug build 0
-[AMADatabaseIntegrityProcessor checkIntegrityIssuesForDatabase:report:]:50 DB integrity check found issues: (
)
+[AMAFileUtility rawContentAtFilePath:error:]:80 Reading content of file: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/data.bak
+[AMAFileUtility rawContentAtFilePath:error:]:83 File reading complete: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/data.bak
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/data.bak
+[AMAFileUtility rawContentAtFilePath:error:]:80 Reading content of file: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/event_hashes.bin
+[AMAFileUtility rawContentAtFilePath:error:]:83 File reading complete: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/event_hashes.bin
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMADispatcher.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAUrgentEventCountDispatchStrategy.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAEventCountDispatchStrategy.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue
-[AMACancelableDelayedExecutor cancelDelayed]:121 Cancellation of async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (90.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 90.00
-[AMAIntervalExecutionCondition shouldExecute]:49 Interval hasn't passed: 5309 seconds left
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAAsyncExecutor.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAReporter.Queue
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
-[AMACancelableDelayedExecutor cancelDelayed]:121 Cancellation of async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
+[AMAFileUtility basePathForSystemType:]:250 Base path of type '14' is: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer invalidate]:74 Timer canceled
+[AMAFileUtility rawContentAtFilePath:error:]:80 Reading content of file: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/instant.json
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (90.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 90.00
+[AMAFileUtility rawContentAtFilePath:error:]:83 File reading complete: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/instant.json
-[AMADatabaseIntegrityProcessor checkIntegrityIssuesForDatabase:report:]:50 DB integrity check found issues: (
)
+[AMAFileUtility rawContentAtFilePath:error:]:80 Reading content of file: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/data.bak
+[AMAFileUtility rawContentAtFilePath:error:]:83 File reading complete: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/data.bak
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/data.bak
+[AMAFileUtility rawContentAtFilePath:error:]:80 Reading content of file: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/event_hashes.bin
+[AMAFileUtility rawContentAtFilePath:error:]:83 File reading complete: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/event_hashes.bin
-[AMAIntervalExecutionCondition shouldExecute]:49 Interval hasn't passed: 85560 seconds left
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMADispatcher.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAUrgentEventCountDispatchStrategy.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAEventCountDispatchStrategy.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue
-[AMACancelableDelayedExecutor cancelDelayed]:121 Cancellation of async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (90.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 90.00
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/data.bak
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/data.bak
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/data.bak
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.Network.AMAHTTPSessionProvider.Queue
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/data.bak
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMAHTTPRequestor start]:60 Start request[size: 288]: <AMAReportRequest: 0x28272e7e0>
-[AMAHTTPRequestor completionHandler]_block_invoke:76 Request: <AMAReportRequest: 0x28272e7e0>
-[AMAHTTPRequestor taskDidCompleteWithData:response:error:]:97 Response[status code: 200; size: 21]: <NSHTTPURLResponse: 0x2827efec0> { URL: https://report.appmetrica.yandex.net/report ... } { Status Code: 200, Headers {
    "Content-Length" =     (
        21
    );
    "Content-Type" =     (
        "application/json; encoding=utf-8"
    );
    Date =     (
        "Tue, 05 Dec 2023 01:32:36 GMT"
    );
} }
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/data.bak
-[AMAHTTPRequestor cancel]:109 Cancel task: <AMAReportRequest: 0x28272e7e0>
-[AMACancelableDelayedExecutor cancelDelayed]:121 Cancellation of async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer invalidate]:74 Timer canceled
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (90.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 90.00
-[AMAHTTPRequestor start]:60 Start request[size: 320]: <AMAReportRequest: 0x2827ed180>
-[AMAHTTPRequestor completionHandler]_block_invoke:76 Request: <AMAReportRequest: 0x2827ed180>
-[AMAHTTPRequestor taskDidCompleteWithData:response:error:]:97 Response[status code: 200; size: 21]: <NSHTTPURLResponse: 0x28270f0c0> { URL: https://report.appmetrica.yandex.net/report ... } { Status Code: 200, Headers {
    "Content-Length" =     (
        21
    );
    "Content-Type" =     (
        "application/json; encoding=utf-8"
    );
    Date =     (
        "Tue, 05 Dec 2023 01:32:37 GMT"
    );
} }
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/04e9d9b5-e649-4912-877e-b079716f93f2/data.bak
-[AMAHTTPRequestor cancel]:109 Cancel task: <AMAReportRequest: 0x2827ed180>
-[AMACancelableDelayedExecutor cancelDelayed]:121 Cancellation of async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer invalidate]:74 Timer canceled
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (90.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 90.00
-[AMAHTTPRequestor start]:60 Start request[size: 288]: <AMAReportRequest: 0x2827dad40>
-[AMAHTTPRequestor completionHandler]_block_invoke:76 Request: <AMAReportRequest: 0x2827dad40>
-[AMAHTTPRequestor taskDidCompleteWithData:response:error:]:97 Response[status code: 200; size: 21]: <NSHTTPURLResponse: 0x28272ada0> { URL: https://report.appmetrica.yandex.net/report ... } { Status Code: 200, Headers {
    "Content-Length" =     (
        21
    );
    "Content-Type" =     (
        "application/json; encoding=utf-8"
    );
    Date =     (
        "Tue, 05 Dec 2023 01:32:38 GMT"
    );
} }
+[AMAFileUtility writeData:filePath:error:]:109 Saved data to: /var/mobile/Containers/Data/Application/08D0823E-319F-47ED-B055-B125926C3037/Library/Application Support/io.appmetrica/20799a27-fa80-4b36-b2db-0f8141f24180/data.bak
-[AMAHTTPRequestor cancel]:109 Cancel task: <AMAReportRequest: 0x2827dad40>
-[AMACancelableDelayedExecutor cancelDelayed]:121 Cancellation of async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer invalidate]:74 Timer canceled
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (90.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 90.00
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer invalidate]:74 Timer canceled
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer invalidate]:74 Timer canceled
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer invalidate]:74 Timer canceled
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (10.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMAReporter.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer invalidate]:74 Timer canceled
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 10.00
-[AMATimer invalidate]:74 Timer canceled

📦 Attach Package.resolved (Swift Package Manager Users)

Click to expand Package.resolved
{
  "pins" : [
    {
      "identity" : "appmetrica-sdk-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/appmetrica/appmetrica-sdk-ios.git",
      "state" : {
        "revision" : "cad8eeac574211203543ee98c2b70c99d4a86caa"
      }
    },
    {
      "identity" : "cocoalumberjack",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/CocoaLumberjack/CocoaLumberjack.git",
      "state" : {
        "revision" : "67ec5818a757aba4d7c534e21a905d878d128dbf",
        "version" : "3.8.1"
      }
    },
...
    {
      "identity" : "fmdb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/ccgus/fmdb",
      "state" : {
        "revision" : "61e51fde7f7aab6554f30ab061cc588b28a97d04",
        "version" : "2.7.7"
      }
    },
    {
      "identity" : "kscrash",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/kstenerud/KSCrash",
      "state" : {
        "revision" : "9e72c018a0ba455a89cf5770dea6e1d5258744b6",
        "version" : "1.15.27"
      }
    },
    {
      "identity" : "protobuf-c",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/appmetrica/protobuf-c",
      "state" : {
        "revision" : "2dd4ca0d49a317570347d9bc1e85ee1bc5660d01",
        "version" : "1.2.2-spm"
      }
    },
...
    {
      "identity" : "swift-log",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-log.git",
      "state" : {
        "revision" : "532d8b529501fb73a2455b179e0bbb6d49b652ed",
        "version" : "1.5.3"
      }
    },
    {
      "identity" : "swiftyjson",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/SwiftyJSON/SwiftyJSON.git",
      "state" : {
        "revision" : "b3dcd7dbd0d488e1a7077cb33b00f2083e382f07",
        "version" : "5.0.1"
      }
    }
  ],
  "version" : 2
}

🍫 Attach Podfile.lock (CocoaPods Users)

No response

No versioning available

📚 AppMetrica SDK Version

That is the point — where are the SPM package versions?

🛠️ Xcode Version

whatever

📱 Device Information

whatever

⚙️ Installation Method

Swift Package Manager

📝 Description

No git tags are available in this repo. No versioning for Swift Package Manager is available.

🔍 Reproducing the issue

  1. Open your repo
  2. Feel disgusted and close it
  3. Open again and look at the tags page, it's empty
  4. Try to add a package using the repo URL in xcode
  5. Only branch versioning available, no exact versions

📋 Relevant AppMetrica Log Output or Crash Logs

No response

📦 Attach Package.resolved (Swift Package Manager Users)

No response

🍫 Attach Podfile.lock (CocoaPods Users)

No response

Excessive number of disk writes

Hello! Congratulations with open source release!

The Xcode Organizer shows that AppMetrica SDK writes lots of data to disk, this can be optimized.
Apple documentation suggests:

  • Use write-ahead logging journaling mode
  • Use incremental auto_vacuum instead of full

CleanShot 2023-09-13 at 16 50 00@2x

Please update the links to your SDKs and samples

📚 AppMetrica SDK Version

1

🛠️ Xcode Version

1

📱 Device Information

1

⚙️ Installation Method

Other

📝 Description

The readme links lead to the legacy pages which lead to the legacy repositories, which are deprecated, archived and not updated since ±2018.

Please update your documentation here: https://appmetrica.yandex.com/docs/ or at least the readme file in this repository.
Adding just a couple of lines with the links to the actual samples will be really useful.

I tried to fill in a report on the documentation website but it requires to provide even more data than this github issue template.

🔍 Reproducing the issue

  1. Just open literally any of your repositories or documentation pages, on the website or on github
  2. See only the deprecations and links to the deprecated pages
  3. Feel pain

📋 Relevant AppMetrica Log Output or Crash Logs

No response

📦 Attach Package.resolved (Swift Package Manager Users)

No response

🍫 Attach Podfile.lock (CocoaPods Users)

No response

AppMetricaConfiguration.logs = false Не отключает логи консоли

📚 AppMetrica SDK Version

5.0.0-beta.1

🛠️ Xcode Version

Version 15.0.1 (15A507)

📱 Device Information

MacOS Sonoma 14.2.1

⚙️ Installation Method

Swift Package Manager

📝 Description

Установка флага не отключает логи консоли

if let configuration = AppMetricaConfiguration(apiKey: "") {
configuration.logs = false
AppMetrica.activate(with: configuration)
}

🔍 Reproducing the issue

No response

📋 Relevant AppMetrica Log Output or Crash Logs

+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAUrgentEventCountDispatchStrategy.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMAEventCountDispatchStrategy.Queue
+[AMAQueuesFactory serialQueueForIdentifierObject:domain:]:17 Queue created: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue
-[AMACancelableDelayedExecutor cancelDelayed]:121 Cancellation of async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMACancelableDelayedExecutor executeAfterDelay:block:]:90 Delayed (90.00) async execution on queue: <OS_dispatch_queue_serial: io.appmetrica.CoreUtils.AMATimerDispatchStrategy.Queue>
-[AMATimer createTimerSourceAndStart]:54 Timer started, timeout: 90.00```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.